Home arrow static arrow Java Programming [Archive] - JOptionPane Input fields
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - JOptionPane Input fields
This topic has 2 replies on 1 page.

Posts:30
Registered: 6/18/03
JOptionPane Input fields  
Jun 24, 2004 8:03 AM



 
Hi! I'd like to know if I can have more than one field in a JOptionPane InputDialog, since I need something like:
Pleade type in
LOGIN:
PASSWORD:
(I'd like to have those 2 input fields)
Thanks.
 

Posts:24,036
Registered: 2/3/03
Re: JOptionPane Input fields  
Jun 24, 2004 8:14 AM (reply 1 of 2)



 
Implement your own JDialog.

[url=http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html]How to Make Dialogs[/url]
[url=http://java.sun.com/docs/books/tutorial/uiswing]Trail: Creating a GUI with JFC/Swing[/url]
 

Posts:4
Registered: 04-6-24
Re: JOptionPane Input fields  
Jun 24, 2004 8:23 AM (reply 2 of 2)



 
It seems you can't. Why not use a JDialog?
 
This topic has 2 replies on 1 page.