DialogWrapper: choosing the position when it's modal Follow
Q1/
When making a DialogWrapper subclass modal, is it possible to choose its
position?
I tried many variations, but it always ignores my explicit positioning,
and centers itself automatically.
Q2/
When do we need to wrap UIs in DialogWrapper, rather than use plain
swing ones?
Alain
Please sign in to leave a comment.
Any comment?
Alain
>
I'm just guessing: a modal dialog always needs a parent window, where do
you get it when you invoke a JDialog directly? Additionally, all dialogs
should look the same (e.g. button size and position), this should be
done in a framework, e.g. the DialogWrapper.
Tom