git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd56b8f
)
Back to gray line
author
amwaterhouse
<Andrew Waterhouse>
Fri, 28 Apr 2006 13:42:04 +0000
(13:42 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 28 Apr 2006 13:42:04 +0000
(13:42 +0000)
src/jalview/gui/AnnotationPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationPanel.java
b/src/jalview/gui/AnnotationPanel.java
index
f9ed690
..
a0405da
100755
(executable)
--- a/
src/jalview/gui/AnnotationPanel.java
+++ b/
src/jalview/gui/AnnotationPanel.java
@@
-548,9
+548,6
@@
public class AnnotationPanel extends JPanel implements MouseListener,
*/
\r
public void paintComponent(Graphics g)
\r
{
\r
- g.setColor(Color.white);
\r
- g.fillRect(0, 0, getWidth(), getHeight());
\r
-
\r
if(image!=null)
\r
{if (fastPaint
\r
|| (getVisibleRect().width != g.getClipBounds().width)
\r
@@
-894,6
+891,7
@@
public class AnnotationPanel extends JPanel implements MouseListener,
}, 3);
\r
}
\r
else
\r
+ g.setColor(Color.gray);
\r
g.fillRect(lastSSX, y + 4 + iconOffset,
\r
x - lastSSX, 7);
\r
\r