Re: simple input box ok button?
- From: Andrew Thompson <SeeMySites@xxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 14:59:12 GMT
On 31 Aug 2005 07:42:40 -0700, 6e wrote:
> I am creating a small pop-up input box, and I want the user to be able
> to insert text into a JTextField, and hit "ok" to return close the
> screen AND return the text in JTextField.
...
> ..it seems like overkill for a such a simple routine...
<http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JOptionPane.html>
String inputValue = JOptionPane.showInputDialog("Input a value");
HTH
--
Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
"Her voice was soft and cool, her eyes were clear and bright, ..but she's
not there"
The Zombies 'She's Not There'
.
- References:
- simple input box ok button?
- From: 6e
- simple input box ok button?
- Prev by Date: Re: Newbie Eclipse / classpath problem?
- Next by Date: Can java be speeded up this way
- Previous by thread: Re: simple input box ok button?
- Next by thread: Question on HTTP interfacing (Java/C++)
- Index(es):