DIGIT-ARC read-only archive · snapshot: July 23, 2026

core java problem to close window

2 posts · originally from https://geek.digit.in/community/threads/core-java-problem-to-close-window.70477/

D
deval112 Original post #1
Oct 12, 2007 at 7:28 PM
hello friends
I am a new comer
plz help me

I got to know how to get window if we press close button of the applet
But I do not know how to get 'Yes' and 'No' buttons functions
If i press 'Yes' then the applet should be closed otherwise back to the program

thanks in advance
Garbage
Garbage #2
Oct 13, 2007 at 10:21 AM
U want this is AWT or in Swing ??
Or simply using applets ??

I think, THIS is what u need...