Re: Java ptolemy plot package.
On Mar 22, 12:12 pm, <mmcnur...@usfamily.net> wrote:
Please refrain from top-posting.
<http://www.physci.org/codes/javafaq.html#toppost>
I got something to download. The book told me to put
c:\ptplot in the class
How old is the book? Sun's advice (for some
considerable time now) has been to add resources
to projects at compile or run-time.
path. I typed echo %CLASSPATH% and got ;"co:\putlog".
I do not understand what this co:\ptulog is?
Do you have a Windows FS type drive of name
'co'?
The author has a java file called Easy.java. When I compile it gives me
these errors.
import Ptolemy.plot.*;
...
Mote that import could only find a class named..
class file contains wrong class: ptolemy.plot.Plot
Ptolemy.plot.Plot
...as opposed to what it is asking for, which is..
ptolemy.plot.Plot
Java package and class names are case sensitive.
The conventional capitalisation is
all.package.lower.case.ClassNameHasEachWordFirstLetterUpper
Andrew T.