Changeset 7768 in josm for trunk/src


Ignore:
Timestamp:
2014-12-08T00:48:42+01:00 (5 years ago)
Author:
Don-vip
Message:

see #6896 - update logo images - use new logo at fixed resolution in spash screen

File:
1 edited

Legend:

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

    r7321 r7768  
    88import java.awt.GridBagConstraints;
    99import java.awt.GridBagLayout;
     10import java.awt.Image;
    1011import java.awt.Insets;
    1112import java.awt.event.MouseAdapter;
     
    1415import java.util.LinkedList;
    1516
     17import javax.swing.ImageIcon;
    1618import javax.swing.JFrame;
    1719import javax.swing.JLabel;
     
    3436/**
    3537 * Show a splash screen so the user knows what is happening during startup.
    36  *
     38 * @since 976
    3739 */
    3840public class SplashScreen extends JFrame {
     
    4446     */
    4547    public SplashScreen() {
    46         super();
    4748        setUndecorated(true);
    4849
     
    5960
    6061        // Add the logo
    61         JLabel logo = new JLabel(ImageProvider.get("logo.png"));
     62        JLabel logo = new JLabel(new ImageIcon(ImageProvider.get("logo.png").getImage().getScaledInstance(128, 129, Image.SCALE_SMOOTH)));
    6263        GridBagConstraints gbc = new GridBagConstraints();
    6364        gbc.gridheight = 2;
Note: See TracChangeset for help on using the changeset viewer.