Focus question

Hi,

I want to know how i can disable all Mouse or Keyborad-events on all Components when i show a Dialog. So that the user only can do any input on the dialog and not switch back to the other components of the application.

Thank you

Message was edited by:

Olek

[292 byte] By [Oleka] at [2007-11-27 10:18:05]
# 1

make the dialog modal

tjacobs01a at 2007-7-28 15:55:27 > top of Java-index,Desktop,Core GUI APIs...
# 2

dialog.setModal(true);

Michael_Dunna at 2007-7-28 15:55:27 > top of Java-index,Desktop,Core GUI APIs...
# 3

> dialog.setModal(true);

beat you!

You did provide code though :)

tjacobs01a at 2007-7-28 15:55:27 > top of Java-index,Desktop,Core GUI APIs...
# 4

> beat you!

:-)

Michael_Dunna at 2007-7-28 15:55:27 > top of Java-index,Desktop,Core GUI APIs...