Skip to main content

Making a program wait for a button press on jFrame

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2011-09-16
Points: 0


I have an applet. There is some data in this applet, which end-users can modify and then applet will process it. I have create a SWING UI to do the editing.

For this I created another class, coded jFrame in it, and invoked it from my applet. It works alright but doesn't wait for button press on jFrame.

I want it to wait for button-click, get the returned data from jFrame class and use that.

Please tell me how can I do that.



Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2006-06-08
Points: 0

Please try the general Swing forum; this forum is focused on SwingLabs/SwingX.