From: Jim Procter Date: Thu, 22 Feb 2018 14:08:15 +0000 (+0000) Subject: JAL-294 remove unneeded paint() method X-Git-Tag: Release_2_10_4~56^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5605c75dece8f5c70ce3e69d32735ed96ad5f9c8;p=jalview.git JAL-294 remove unneeded paint() method --- diff --git a/src/jalview/appletgui/IdwidthAdjuster.java b/src/jalview/appletgui/IdwidthAdjuster.java index e9722fe..3de1ef6 100755 --- a/src/jalview/appletgui/IdwidthAdjuster.java +++ b/src/jalview/appletgui/IdwidthAdjuster.java @@ -22,7 +22,6 @@ package jalview.appletgui; import java.awt.Cursor; import java.awt.Dimension; -import java.awt.Graphics; import java.awt.Image; import java.awt.Panel; import java.awt.event.MouseEvent; @@ -129,19 +128,4 @@ public class IdwidthAdjuster extends Panel public void mouseClicked(MouseEvent evt) { } - - @Override - public void paint(Graphics g) - { - // g.setColor(Color.white); - // g.fillRect(0, 0, getSize().width, getSize().height); - // if (active) - // { - // if (image != null) - // { - // g.drawImage(image, getSize().width - 20, 2, this); - // } - // } - } - }