git://source.jalview.org
/
jalviewjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
JAL-1807 - Bob's last(?) before leaving Dundee -- adds fast file loading
[jalviewjs.git]
/
src
/
jalview
/
appletgui
/
TitledPanel.java
diff --git
a/src/jalview/appletgui/TitledPanel.java
b/src/jalview/appletgui/TitledPanel.java
index
4594ba2
..
f4cf685
100644
(file)
--- a/
src/jalview/appletgui/TitledPanel.java
+++ b/
src/jalview/appletgui/TitledPanel.java
@@
-39,7
+39,7
@@
public class TitledPanel extends Panel
g.setColor(getBackground());
g.fillRect(10, 0, width, 10);
g.setColor(getForeground());
- g.drawString(getTitle(), 10, 10);
+ awt2swing.Util.drawString(g, getTitle(), 10, 10);
}
/**