• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

double dialogs

 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello
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 "MyResource_locale.properties 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic