> ..
> > We have an application that has a main JFrame and a JDialog child. I'd
[quoted text clipped - 6 lines]
>
> It would make the rest of the question 'moot'.
> > ..
> > > We have an application that has a main JFrame and a JDialog child. I'd
[quoted text clipped - 10 lines]
> 'Find' dialog that you'll find in many editors. Why should it not be
> possible to edit text while displaying the dialog?
I never said it shouldn't. But let me put the question back
to you in slightly altered form.
'Why should a 'Find' dialog, block program exit?'
(And for 'Find', insert any good example of a use for a
non-modal dialog)
If a dialog is not important enough to block access to
the main GUI, it seems it is also not important enough
to interfere with the application's standard exit behaviour.
'The path of least surprise' is not being followed here.
Andrew T.
dsjoblom@abo.fi - 04 Aug 2006 10:28 GMT
> > > Why not simply make the JDialog modal?
> > >
[quoted text clipped - 16 lines]
>
> 'The path of least surprise' is not being followed here.
Ah. I see what you mean. Certainly something to consider, and after
thinking about it, I agree with you in the general case, although I
guess there could be exceptions to this design rule. Thanks for the
clarification.
Regards,
Daniel Sjöblom