How to reinitialize full java applet on the click of a button (JButton
) from with in a applet?
I want the applet to behave like as it behaves first time. I have acquired scanner in my applet, but I don't know the function to release that. Whereas destroying and restarting applet do so automatically. Is there any way I can see what function this Java applet is using to release that scanner resource? So that same way I can call that method.