Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Applet problem with swing

843805Oct 7 2006 — edited Oct 14 2006
I am using jdk 1.2.2_013 and i made a simple Applet(not JApplet) with only one JButton on it.

Compile ran well but when i started my html file (which contains applet tag with path to my simple class), applet couldn't load. But then i replace JButton with a Button and everything worked out.

But the point is, if i use JApplet or JButton or any other part of a swing my applet won't work.

What is the problem?

P.S. appletviewer shows my applet correctly with and with out swing
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 11 2006
Added on Oct 7 2006
11 comments
156 views