| Author |
Blocking Component Input
|
Isaac Hewitt
Ranch Hand
Joined: Jul 24, 2006
Posts: 179
|
|
Is it possible to block input to components in a JDialog using a glass pane? If not, other than disabling the components, is there any other way to block input?
Thanks.
|
 |
Rob Camick
Ranch Hand
Joined: Jun 13, 2009
Posts: 1791
|
|
|
Yes its possible, the Swing tutorial has an example of using a Glass Pane.
|
 |
Isaac Hewitt
Ranch Hand
Joined: Jul 24, 2006
Posts: 179
|
|
|
Sorry for this late reply. I was able to find and fully integrate the required class in the JDialog, and it saves alot of work with setEnabled() for every component. Thanks for the link.
|
 |
 |
|
|
subject: Blocking Component Input
|
|
|