I am using netbeans IDE to create a JFrame class and using the visual
editor
to create a rich dialog. I want to then use this dialog as a modal
dialog
when the user clicks on 'options' in the main applications menu.
Reading around the web, it seems that it is not possible to use a
JFrame as
a modal dialog but the use of JDialog seems to limit the richness of
the
dialog.
Am I missing something obvious? Surely the display of a complex options
dialog box is a common requirement and handled in many Java
applications.
Regards
Andy
Hozkar - 28 Mar 2006 16:07 GMT
You will problably have to extend from JDialog to make your own rich
dialog.
Ed Kirwan - 28 Mar 2006 16:10 GMT
> I am using netbeans IDE to create a JFrame class and using the visual
> editor
[quoted text clipped - 12 lines]
> Regards
> Andy
See Chapter 8: Dialog Boxes and Alert Boxes at:
http://java.sun.com/products/jlf/ed2/book/
These are more complicated than in the tutorial, but show better how
more complex dialogs are built.

Signature
www.EdmundKirwan.com - Home of The Fractal Class Composition.
Download Fractality, free Java code analyzer:
www.EdmundKirwan.com/servlet/fractal/frac-page130.html