From: amwaterhouse Date: Tue, 22 Aug 2006 09:10:48 +0000 (+0000) Subject: Put transparency back X-Git-Tag: Release_2_1~9 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=60b22c7b9ccf824a85fa2761e34dfdfba415a8a1;p=jalview.git Put transparency back --- diff --git a/src/jalview/appletgui/FeatureRenderer.java b/src/jalview/appletgui/FeatureRenderer.java index d49fdc4..a24525e 100755 --- a/src/jalview/appletgui/FeatureRenderer.java +++ b/src/jalview/appletgui/FeatureRenderer.java @@ -412,10 +412,10 @@ public class FeatureRenderer { void setTransparency(Graphics g, float value) { - /* Graphics2D g2 = (Graphics2D) g; - g2.setComposite( + Graphics2D g2 = (Graphics2D) g; + g2.setComposite( AlphaComposite.getInstance( - AlphaComposite.SRC_OVER, value));*/ + AlphaComposite.SRC_OVER, value)); } }