Changeset 4992 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2012-02-19T12:30:15+01:00 (13 years ago)
Author:
xeen
Message:

fix #7345

File:
1 edited

Legend:

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

    r4803 r4992  
    1717import java.awt.Toolkit;
    1818import java.awt.event.AWTEventListener;
    19 import java.awt.event.ActionEvent;
    2019import java.awt.event.InputEvent;
    2120import java.awt.event.KeyAdapter;
     
    3231import javax.swing.BorderFactory;
    3332import javax.swing.JLabel;
    34 import javax.swing.JMenu;
    3533import javax.swing.JPanel;
    36 import javax.swing.JPopupMenu;
    3734import javax.swing.JProgressBar;
    3835import javax.swing.JScrollPane;
     
    5148import org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor;
    5249import org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor.ProgressMonitorDialog;
    53 import org.openstreetmap.josm.gui.widgets.PopupMenuLauncher;
    5450import org.openstreetmap.josm.tools.GBC;
    5551import org.openstreetmap.josm.tools.ImageProvider;
     
    279275                                    }
    280276
    281                                     // Set the text label in the bottom status bar 
     277                                    // Set the text label in the bottom status bar
    282278                                    // "if mouse moved only" was added to stop heap growing
    283279                                    if (!mouseNotMoved) statusBarElementUpdate(ms);
     
    718714
    719715        progressBar.setMaximum(PleaseWaitProgressMonitor.PROGRESS_BAR_MAX);
    720         {
    721             GBC gbc = GBC.eol();
    722             gbc.ipadx = 100;
    723             add(progressBar,gbc);
    724         }
     716        progressBar.setVisible(false);
     717        GBC gbc = GBC.eol();
     718        gbc.ipadx = 100;
     719        add(progressBar,gbc);
    725720        progressBar.addMouseListener(new MouseAdapter() {
    726721            @Override
Note: See TracChangeset for help on using the changeset viewer.