JAL-1807 - Bob's last(?) before leaving Dundee -- adds fast file loading
[jalviewjs.git] / src / jalview / appletgui / TitledPanel.java
index 4594ba2..f4cf685 100644 (file)
@@ -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);
   }
 
   /**