Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum! Post Reply Bookmark Topic Watch Topic New Topic.
JOptionPane with Multiple InputText boxes. Hi Java Guru's, As per the requirement I have to use a single JOptionPane with three input textboxes for taking three inputs.
Kindly help me how to do that. The message parameter of JOptionPane 's showXXX methods can take any object. Usually you use a String or String array, but you can provide complete Swing controls.
In your case, it's as simple as this: You may also be interested in the Dialog Focus tip. How to build the MDI JFrame?
JOptionPane (Java Platform SE 7 )
The method showMessageDialog Component, Object in the type JOptionPane is not applic. Timers and Message Boxes. GMT-6 in summer, GMT-7 in winter.