This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Applets and the fly likes Problem with closing n reloading an applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
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: 8836
    
    7

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
Why aren't my components wrapping?
positioning of components w/o using layout managers
problem in adding the panel to an applet
Problem whit ActionListener and static variable
mysql refused rmi connection