mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 22:10:54 +03:00
FlatInspector: make sure that glass pane is not opaque, which is not the case in all Lafs
This commit is contained in:
@@ -216,6 +216,9 @@ public class FlatInspector
|
||||
|
||||
this.enabled = enabled;
|
||||
|
||||
// make sure that glass pane is not opaque, which is not the case in WebLaF
|
||||
((JComponent)rootPane.getGlassPane()).setOpaque( false );
|
||||
|
||||
rootPane.getGlassPane().setVisible( enabled );
|
||||
|
||||
Toolkit toolkit = Toolkit.getDefaultToolkit();
|
||||
|
||||
Reference in New Issue
Block a user