开发者

execute a JApplet from another class?

开发者 https://www.devze.com 2023-01-22 02:23 出处:网络
I\'m new to Japplets.. I\'m wondering if I have the fol开发者_如何学JAVAlowing... classA A = new classA();

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消