Show Posts
|
|
Pages: [1]
|
|
2
|
Java Game APIs & Engines / Java 2D / fixed modal dialog
|
on: 2004-11-25 10:22:11
|
|
Hi to everyone, I repost because of a previous error.
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? thanks in advance thanasis
|
|
|
|
|
3
|
Discussions / Miscellaneous Topics / fixed confirmation dialog
|
on: 2004-11-25 10:19:50
|
|
Hi to everyone, I repost because of a previous error.
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 it’s 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? thanks in advance thanasis
|
|
|
|
|
4
|
Discussions / Miscellaneous Topics / fixed confirmation dialog
|
on: 2004-11-24 22:27:28
|
|
Hi to everyone,
i am writing an awt applet. When someone clicks on a button a confirmation dialog pops up. When the user drags(moves) the dialog from it's inside the drawing panel, 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 it isn't possible, is there a way to protect my panel's drawings (lines, circles etc) from being lost?
thanks in advance thanasis
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|