Disable JPanel with visual effect

Posted by Ryan on Stack Overflow See other posts from Stack Overflow or by Ryan
Published on 2010-03-18T16:31:45Z Indexed on 2010/03/18 16:41 UTC
Read the original article Hit count: 183

Filed under:
|
|

I'm looking for a good way to disable a JPanel. I'm using a MVC design for a Java Swing GUI. I want the JPanel to be disabled while the model is processing stuff. I've tried setEnabled(false). That disables user input on the JPanel, but I'd like it to be grayed out to add a more visual effect.

Thanks in advance!

© Stack Overflow or respective owner

Related posts about java

Related posts about swing