any suggestions??
Cheers
:-)
public class MyClass {
...
}
Also, you have to make sure that, if your class has a contructor, the
contructor is public too:
public class MyClass {
public MyClass() {
...
}
}
You should be able to find more about this in any Java book though.. By
the way: your class name (test) doesn't follow Sun's name
specifications.. class names always start with a capital letter, like
this: Test.class (but don't just rename the file! also the source).
Niek
Well, that's of course hard to say without any source, but I think your class
is not public of has no public constructor.
So long,
David
--
---------. .---------------------------------
Superkind \ supe...@uni-neukoelln.de / http://xxxxxxxxx.xxx-xxxxxxxxx.xx
~--------------------------~
and there is an attempt to create an instance of the class in a context
that needs it to be public. Either you intend to allow creation of
instances of the class from anywhere in the program, and need to add
"public" to the class and constructor declarations, or you are creating
an instance in the wrong place, and need to change that.
Patricia
Sometimes it launches two japplets when i run it in appletviewer.
cheers
PS. i've also tried to view this Japplet on another pc and it complaints
that it can't find japplet.class -
Java plugin and jdk is installed
:)