Having trouble understanding your problem.
|
Quote:
|
When compiling in JCreator I get the following message.
java.lang.ClassCastException: FramedButton cannot be cast to java.applet.Applet
|
This looks like an execution time error message, not a compile error.
Where is FramedButton defined? Its not in the code you posted.
|
Quote:
|
|
When compiling with javax
|
What is the javax program? Sun's java JDK uses javac to compile java programs.
Your code show a main() method. These are not used in Applets.