altosui: Add multi-sized icons to all windows
[fw/altos] / altosui / AltosUI.java
index 538f87348639a00195323db2e5ce987a8b777ce9..9977e82b2483d83d93f4cdd63132c4bf97cb8191 100644 (file)
@@ -105,10 +105,6 @@ public class AltosUI extends AltosFrame {
 
                load_library(null);
 
-               java.net.URL imgURL = AltosUI.class.getResource("/altus-metrum-16x16.jpg");
-               if (imgURL != null)
-                       setIconImage(new ImageIcon(imgURL).getImage());
-
                AltosUIPreferences.set_component(this);
 
                pane = getContentPane();
@@ -538,6 +534,7 @@ public class AltosUI extends AltosFrame {
        }
        
        public static void main(final String[] args) {
+               load_library(null);
                try {
                        UIManager.setLookAndFeel(AltosUIPreferences.look_and_feel());
                } catch (Exception e) {