Hi Guys, I m making a software for a Cybercafe. I m opening the internet explorer through a button on frame..created in java. After 1 hour I want the explorer to close automatically. is it possible.I think it is please help me. the second problem is that if i have multiple explorers open,If i want all of them to close automatically after 1 hour...is it possible...please help me. Thanks
Maybe the Applet forum would be a better place to get an answer to this question. I'll transfer this thread there.
Joined: Nov 22, 2008
Hi i'm also interested in this answer. Heres my scenario. A user clicks on a link to my applet and it opens another window which holds my applet. My applet is also in a frame. I currently call window.close() from my applet. However whenever the user goes back to click on the applet link (the previous window) the applet never reloads.. I partially solved this by calling System.exit(0/1) before i called the window.close().. my applet exited AND i had no problem clicking on the applet link to reload it.. HOWEVER the applet browser will still be open.. (my applet is in its own frame).. when call System.exit(0/1) after i call the window.close() then both windows close.. the browser window holding my applet AND the browser window containing my applet link. i want to be able to call window.close() so it closes my applet browser window and also call system.exit() so i can reload my applet.
Joined: Oct 19, 2000
Well Guys You are mistaken, What i Meant is that I created a Application in java. which has frame and the button exists on frame. its not a applet