aspose file tools
The moose likes Applets and the fly likes Problem with closing n reloading an applet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Applets
Reply Bookmark "Problem with closing n reloading an applet" Watch "Problem with closing n reloading an applet" New topic
Author

Problem with closing n reloading an applet

smyle khanna
Ranch Hand

Joined: Jan 14, 2004
Posts: 54
i am facing a problem with closing the applet n loading the next applet in the same window,[the program is not yet complete]
at present all get loded in the same window w/o the previous content still present.even the background color doesnt work
the WindowListener method doesnt work ?
plz tell me which method should i use to set these applets workin
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8290

Originally posted by smyle khanna:
i am facing a problem with closing the applet n loading the next applet in the same window

You are trying to replace the applet that was loaded in a page with a different applet? I don't think that's possible. You can, however, use a CardLayout to make different "pages" and use the CardLayout.show() method to switch between them.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with closing n reloading an applet
 
Similar Threads
problem in adding the panel to an applet
Problem whit ActionListener and static variable
Why aren't my components wrapping?
mysql refused rmi connection
positioning of components w/o using layout managers