Hi
How can I create dialog witk standard icon, edit and Ok button, such like
below?
+-------------------------------------+
| q i | |
| u c | |
| e o | |
| s n | Label |
| t | Edit |
| i | |
| o | |
| n | |
|--------------------------------------+
| ok |
+-------------------------------------+
Best regards

Signature
Greg
Andrew Thompson - 03 Nov 2003 09:05 GMT
> Hi
>
[quoted text clipped - 13 lines]
> | ok |
> +-------------------------------------+
BorderLayout, put the 'question icon' in the WEST,
'ok' SOUTH, and 'Label Edit' CENTER..
HTH
--
Andrew Thompson
http://www.AThompson.info/
http://www.PhySci.org/
http://www.1point1C.org/
Thomas Fritsch - 03 Nov 2003 12:34 GMT
>Hi
>
[quoted text clipped - 16 lines]
>Best regards
>
I think the most simple solution is:
JOptionPane.showMessageDialog(null, new JLabel("Message"), "Title",
JOptionPane.QUESTION_MESSAGE);
Instead of the JLabel you can any Object. See docu of JOptionPane for
details.
Regards
Thomas