aspose file tools*
The moose likes Beginning Java and the fly likes new frame from applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "new frame from applet" Watch "new frame from applet" New topic
Author

new frame from applet

Suahs Kanere
Greenhorn

Joined: Jul 15, 2001
Posts: 1
How can I close the new Frame which is opened from applet by cliking a button on it. I created frame inner class which implements Window listener and implemented the interfaces in the inner class. Applet opens up the window and show the contents in the frame. But can not close it. When inner class frmae is compiled as an application works fine.
Lucas Richardson
Ranch Hand

Joined: Jul 08, 2001
Posts: 32
Applets shouldn't need a window listener, they should know how to close on their own. Are you just trying to close the window using the button that's part of the frame in the upper right hand corner, or are you trying to create your own button to do it?
cory malcolm
Greenhorn

Joined: Jul 15, 2001
Posts: 2
Hi,, close your applet "appplication" ,,, try JDesktopPane as your GUI in the applet,, it will not close the applet but should close your data contained within JDesktopPane,,Bye for now,,cory
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: new frame from applet