mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-07 06:20:53 +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;
|
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 );
|
rootPane.getGlassPane().setVisible( enabled );
|
||||||
|
|
||||||
Toolkit toolkit = Toolkit.getDefaultToolkit();
|
Toolkit toolkit = Toolkit.getDefaultToolkit();
|
||||||
|
|||||||
Reference in New Issue
Block a user