Changeset 4061 in josm


Ignore:
Timestamp:
2011-04-24T12:26:41+02:00 (9 years ago)
Author:
stoecker
Message:

fix #1608 - better icons for JOSM

Location:
trunk
Files:
6 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainApplication.java

    r3959 r4061  
    55import static org.openstreetmap.josm.tools.I18n.trn;
    66
     7import java.awt.Image;
    78import java.awt.Toolkit;
    89import java.awt.event.WindowAdapter;
     
    6061        mainFrame.setJMenuBar(menu);
    6162        mainFrame.setBounds(bounds);
    62         mainFrame.setIconImage(ImageProvider.get("logo.png").getImage());
     63        LinkedList<Image> l = new LinkedList<Image>();
     64        l.add(ImageProvider.get("logo_16x16x32").getImage());
     65        l.add(ImageProvider.get("logo_16x16x8").getImage());
     66        l.add(ImageProvider.get("logo_32x32x32").getImage());
     67        l.add(ImageProvider.get("logo_32x32x8").getImage());
     68        l.add(ImageProvider.get("logo_48x48x32").getImage());
     69        l.add(ImageProvider.get("logo_48x48x8").getImage());
     70        l.add(ImageProvider.get("logo").getImage());
     71        //mainFrame.setIconImage(ImageProvider.get("logo").getImage());
     72        mainFrame.setIconImages(l);
    6373        mainFrame.addWindowListener(new WindowAdapter(){
    6474            @Override public void windowClosing(final WindowEvent arg0) {
Note: See TracChangeset for help on using the changeset viewer.