Changeset 4992 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2012-02-19T12:30:15+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapStatus.java
r4803 r4992 17 17 import java.awt.Toolkit; 18 18 import java.awt.event.AWTEventListener; 19 import java.awt.event.ActionEvent;20 19 import java.awt.event.InputEvent; 21 20 import java.awt.event.KeyAdapter; … … 32 31 import javax.swing.BorderFactory; 33 32 import javax.swing.JLabel; 34 import javax.swing.JMenu;35 33 import javax.swing.JPanel; 36 import javax.swing.JPopupMenu;37 34 import javax.swing.JProgressBar; 38 35 import javax.swing.JScrollPane; … … 51 48 import org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor; 52 49 import org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor.ProgressMonitorDialog; 53 import org.openstreetmap.josm.gui.widgets.PopupMenuLauncher;54 50 import org.openstreetmap.josm.tools.GBC; 55 51 import org.openstreetmap.josm.tools.ImageProvider; … … 279 275 } 280 276 281 // Set the text label in the bottom status bar 277 // Set the text label in the bottom status bar 282 278 // "if mouse moved only" was added to stop heap growing 283 279 if (!mouseNotMoved) statusBarElementUpdate(ms); … … 718 714 719 715 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); 725 720 progressBar.addMouseListener(new MouseAdapter() { 726 721 @Override
Note:
See TracChangeset
for help on using the changeset viewer.