From 60b22c7b9ccf824a85fa2761e34dfdfba415a8a1 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 22 Aug 2006 09:10:48 +0000 Subject: [PATCH] Put transparency back --- src/jalview/appletgui/FeatureRenderer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); } } -- 1.7.10.2