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