*
The moose likes Swing / AWT / SWT and the fly likes JDialog : Custom Input Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JDialog : Custom Input" Watch "JDialog : Custom Input" New topic
Author

JDialog : Custom Input

Darren Wilkinson
Greenhorn

Joined: Feb 09, 2004
Posts: 21
Hello :-)

I need to make a modal dialog window that requires the user to input text into 3 textfields

It also needs two buttons

A cancel button (which gets rid of the dialog)

Another button which passes the users text on to the class that created the dialog

Can anyone point me in the right direction on this please

Darren
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
This might get you started (it's rough)

Darren Wilkinson
Greenhorn

Joined: Feb 09, 2004
Posts: 21
Thank you

This has pointed me in the right direction
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Darren Wilkinson:
Thank you

This has pointed me in the right direction


It did a little more than point. I hope this wasn't a homework assignment..Michael, are you listening?


GenRocket - Experts at Building Test Data
 
Don't get me started about those stupid light bulbs.
 
subject: JDialog : Custom Input
 
Similar Threads
changing txt value of a button in SWT
browse button
A question about GUI
Flexible Dialog Box
JAVA Command Line jar file - Debug in Eclipse