i have created 3 applets 1st for the rules having ok and exit button.2nd for input having a textfield and ok,cancel and exit buttons.3rd is for output where there is a textarea and retry and ok button.now the problem is that i want when i click ok in rules window it should disappear and input window should come up and like wise. note:All applets are of different sizes.
Joined: Mar 22, 2005
Welcome to JavaRanch.
An applets can't be replaced by another one. You can load a different web page that shows the second applet, though, through the showDocument method.
Maybe you can make it a single applet, and show the 3 different screen by using a CardLayout?