From: amwaterhouse Date: Mon, 12 Dec 2005 14:20:09 +0000 (+0000) Subject: Jbinit X-Git-Tag: Release_2_07~5 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d89c653f63d31887c5a9c41c80711240324849f6;p=jalview.git Jbinit --- diff --git a/src/jalview/appletgui/FontChooser.java b/src/jalview/appletgui/FontChooser.java index 27e2a93..5f44b39 100755 --- a/src/jalview/appletgui/FontChooser.java +++ b/src/jalview/appletgui/FontChooser.java @@ -51,13 +51,22 @@ public class FontChooser public FontChooser(AlignmentPanel ap) { + try + { + jbInit(); + } + catch (Exception e) + { + e.printStackTrace(); + } + this.ap = ap; oldFont = ap.av.getFont(); init(); } void init() - { + { String fonts[] = Toolkit.getDefaultToolkit().getFontList(); for (int i = 0; i < fonts.length; i++) {