cleanup
[jalview.git] / forester / java / src / org / forester / archaeopteryx / FontChooser.java
index d319fa1..694a6ee 100644 (file)
@@ -9,7 +9,7 @@
 // by: James Bardsley (torasin@torasin.com)
 //
 // Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
 
 package org.forester.archaeopteryx;
 
@@ -49,7 +49,7 @@ public class FontChooser extends JDialog implements ActionListener, ListSelectio
     private String                _type;
     private int                   _style;
     private int                   _size;
-    private final JList           _font_list        = new JList( Util.getAvailableFontFamiliesSorted() );
+    private final JList           _font_list        = new JList( AptxUtil.getAvailableFontFamiliesSorted() );
     private final JList           _style_list       = new JList( STYLE );
     private final JList           _size_list        = new JList( SIZE );
     private final JTextField      _fonts_tf         = new JTextField();
@@ -126,6 +126,7 @@ public class FontChooser extends JDialog implements ActionListener, ListSelectio
         this( new Font( font_name, font_style, size ) );
     }
 
+    @Override
     public void actionPerformed( final ActionEvent e ) {
         if ( e.getSource() == _fonts_tf ) {
             boolean found = false;
@@ -262,6 +263,7 @@ public class FontChooser extends JDialog implements ActionListener, ListSelectio
         return _option;
     }
 
+    @Override
     public void valueChanged( final ListSelectionEvent e ) {
         if ( e.getSource() == _font_list ) {
             if ( _font_list.getSelectedValue() != null ) {