FlatInspector: make sure that glass pane is not opaque, which is not the case in all Lafs

This commit is contained in:
Karl Tauber
2020-10-14 10:36:29 +02:00
parent 029dc51f8b
commit ebe0d74dbe

View File

@@ -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();