Discussion Locked

Java Swing Dialog Box

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I am currently trying to implement a multiple input field Dialog Box without much success ! I have heard that it is not possible to use the JDialogBox as it is limited to one input field, I need three! any ideas ?

7 replies

by danym

If you really mean JDialog try this:

dialog.getContentPane().add(field1);
dialog.getContentPane().add(field2);
dialog.getContentPane().add(field3);

I hope this help you

This discussion is closed to new replies.