execute a JApplet from another class?
I'm new to Japplets.. I'm wondering if I have the fol开发者_如何学JAVAlowing...
classA A = new classA();
//launch Japplet here
and classA extends Japplet
how would I launch the Japplet?
If it's any help I'm using a Java Bean and I've tried calling classA.init();
although this class does execute when I call this method it just doesn't show my JApplet on display.
Perhaps the init() method?
I suspect you either need to use a browser or an applet viewer to see anything. During development I would recommend an applet viewer as it is easier to get going (fewer security issues).
精彩评论