Transparency
authoramwaterhouse <Andrew Waterhouse>
Wed, 9 Aug 2006 15:54:26 +0000 (15:54 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 9 Aug 2006 15:54:26 +0000 (15:54 +0000)
src/jalview/appletgui/FeatureRenderer.java

index 31b09c7..7f8d89d 100755 (executable)
@@ -412,10 +412,10 @@ public class FeatureRenderer
   {\r
     void setTransparency(Graphics g, float value)\r
     {\r
-      //Graphics2D g2 = (Graphics2D) g;\r
-   //   g2.setComposite(\r
-     //     AlphaComposite.getInstance(\r
-     //         AlphaComposite.SRC_OVER, value));\r
+      Graphics2D g2 = (Graphics2D) g;\r
+      g2.setComposite(\r
+          AlphaComposite.getInstance(\r
+              AlphaComposite.SRC_OVER, value));\r
     }\r
   }\r
 \r