Halting the rest of the program until a button is pressed
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Saturday, November 3, 2001 12:30 AM

Please convert this algorithm into a code.



load 1st JFrame();

add button "OK" on 1st JFrame

wait until button "OK" is pressed

load 2nd JFrame();

Re: Halting the rest of the program until a button is pressed

Posted By:   Alex_Chaffee  
Posted On:   Saturday, November 3, 2001 07:57 PM

Make an event listener. Basic stuff. See the Swing FAQ.
About | Sitemap | Contact