I am sure that Java must have something equvilant to VBs input box, where a pop up box appears after some action and there is a textfield where the user can type some text. I looked in the list of Swing components and did not find anything off hand, anybody know? I want to be able to take what the user types in this popup box and use it in my code for processing. Thanks.
Joined: Jan 30, 2002
Hi Thomas, Take a look at JOptionPane and JDialog. JOptionPane provides a variety of static methods to create popup dialogs on the fly. Michael Morris
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Joined: Dec 10, 2001
A simple example of what Michael was talking about: