src/macosx/classes/sun/lwawt/macosx/CPlatformView.java

Print this page

        

@@ -62,11 +62,11 @@
     public long getAWTView() {
         return ptr;
     }
 
     public boolean isOpaque() {
-        return peer.isOpaque();
+        return !peer.isTranslucent();
     }
 
     /*
      * All coordinates passed to the method should be based on the origin being in the bottom-left corner (standard
      * Cocoa coordinates).