Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

double dialogs  RSS feed

Chris Pat
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a dialog that I can create and center on the screen fine. On it there
are buttons off of which I launch another modal dialog box.. (Yes I know that I should use tabbed panes, however that is overkill for this app). The
problem is that I cannot reference the frame of my original centered dialog
box, therefore my second dialogs open in the default new Frame location of
upper left.

What I am trying to do is make the second dialog open in the proximity of oneof the buttons of the first dialog. It, of course works then I do not centerthe first dialog. The second dialog always opens in the default location.

Hopefully not being excessive I have two other questions on this task. b. how does the centering work within an applet? Can I use the same Toolkit and
Dimension techique. c. never having localized before and only needing text
strings, do I create a " for every locale? This
is probably equally obtuse, but how do I code the strings in the different
caractersets? How do I create the strings in different charactersets like
french or greek, etc? Thank you for any one response, thank you again
interminably for all, grin.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!