From d89c653f63d31887c5a9c41c80711240324849f6 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 12 Dec 2005 14:20:09 +0000 Subject: [PATCH] Jbinit --- src/jalview/appletgui/FontChooser.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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++) { -- 1.7.10.2