• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

clarification about Dialog container

 
mark stone
Ranch Hand
Posts: 417
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
these two constructors would mean that it would be a dialog inside another dialog. right ? (similar to situation when dialog is inside a Frame)
did i get it correct ??
(1) Dialog(Dialog owner)
Constructs an initially invisible, non-modal Dialog with an empty title and the specified owner dialog.
(2) Dialog(Dialog owner, String title)
Constructs an initially invisible, non-modal Dialog with the specified owner dialog and title.
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
correct
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It also means that if you give an owner to your new Dialog, it will be placed relatively to the owner. If you give null, it will be placed as the implementation wants, that is, generally in the upper right corner of the screen or at a random location.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic