Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

double dialogs

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.
Lookout! Runaway whale! Hide behind this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic