Skip to main content

Making a program wait for a button press on jFrame

1 reply [Last post]
ntomer
Offline
Joined: 2011-09-16
Points: 0

Hi,

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.

Regards

Nitin

Reply viewing options

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

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

Karl