From 21bf96841dd49d9538dff23e6dd553485ab16896 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 10 Mar 2005 10:12:01 +0000 Subject: [PATCH] fonts changed as selection made --- src/jalview/gui/FontChooser.java | 49 +++++++++++++++++++++++++++++++------- 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/src/jalview/gui/FontChooser.java b/src/jalview/gui/FontChooser.java index 782d2d6..d7a88a7 100755 --- a/src/jalview/gui/FontChooser.java +++ b/src/jalview/gui/FontChooser.java @@ -12,11 +12,13 @@ public class FontChooser extends GFontChooser { AlignmentPanel ap; Font oldFont; + boolean init = true; + JInternalFrame frame; - public FontChooser(AlignmentPanel ap) + public FontChooser(AlignmentPanel ap, JInternalFrame f) { this.ap = ap; - + frame = f; String fonts[] = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames(); for(int i=0; i