• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

fixed modal dialog

 
thanasis thanos
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi to everyone,

i am writing an awt applet. When someone clicks on a button a confirmation "yes/no" dialog pops up. When the user drags (moves) the dialog from its title bar and drops it inside the drawing panel (which contains drawings i.e circles,ovals,lines etc.) , the panel contents are erased (destroyed).
Does anyone know how can I make this dialog fixed so that the user couldn't move it?
Or if that isn't possible, is there a way to protect my panel's drawings (lines, circles etc) from being lost when the dialog lies inside the panel?
And one more question.Is it possible to put a menubar in awt applets?
thanks in advance
thanasis
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic