Search Results
Disabled Glass Pane
Posted on November 7, 2008
There may be times when you want to temporarily disable your frame. The easiest way to do this is to simply use setEnabled(false) on the frame. There are two things I don’t really like using this approach: there is no visual indication the frame is disabled the frame beeps at you when you click on […]
Posted in Classes, Swing | 9 Comments »
Disabled Panel
Posted on August 2, 2009
A previous entry discussed a DisabledGlassPane which allows you to disable key and mouse events for an entire frame. There may be times when you need to disable key and mouse events for a given Container only. Unfortunately you can’t just invoke setEnabled(false) on the container to disable the contained components. So we need another […]
Posted in Classes, Swing | 6 Comments »