views:

157

answers:

1

Hi there,

I want to create a hangman game as an applet, so I have some labels and buttons that will be initialized by the generated code of the gui designer but I also have some labels I create on my own, after knowing how long my word is. Therefore I use absolute layout for my applet.

In netbeans my applet works finde when I run it but when I try to run it in the browser (I tried Firefox and IE) nothing is on the display, the applet is empty.

can someone help me with that?

Here you can find the source if it is helpful http://root.xelluloid.de/Hedgeman/Hedgeman.java

With kind regards

Sebastian

A: 

Did you look at the Java console for the browser? It likely contains something that says that the program crashed because it could not find the AbsoluteLayout class.

This is for an older version of NetBeans, but the same should apply: http://forums.sun.com/thread.jspa?threadID=597783

TofuBeer