Newbie: modal complex dialogs

A

Andy

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
 
E

Ed Kirwan

Andy said:
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

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top