src/macosx/classes/com/apple/laf/AquaRootPaneUI.java

Print this page

        

@@ -317,6 +317,14 @@
 
         for (final Component element : children) {
             updateComponentTreeUIActivation(element, active);
         }
     }
+
+    @Override
+    public final void update(final Graphics g, final JComponent c) {
+        if (c.isOpaque()) {
+            AquaUtils.fillRect(g, c);
+        }
+        paint(g, c);
+    }
 }