From: D-Man <ds...@ri...> - 2001-02-22 03:36:43
|
You created a /new/ JFrame instead of using the frame the applet gives you. JFrame, JDialog, JWindow (and maybe one other widget) all have heavyweight native peers. If you create one, you get a new native window. Instead try using the frame the applet already has. (I'm not sure where to find it, but try the Applet class's documentation) -D On Thu, Feb 22, 2001 at 11:46:29AM +0900, syKim wrote: | | however, when I executed it opens another applet window under appletviewer | or netscape.. | | main applet window in appletviewer or netscape is just empty. | | frame=JFrame('test',visible=1,size=(400,300)) ^^^^^^ |