Changeset 2017 in josm for trunk/src/org/openstreetmap/josm/gui/download
- Timestamp:
- 2009-08-30T19:07:24+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/download
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/BookmarkSelection.java
r1865 r2017 8 8 import java.awt.event.ActionEvent; 9 9 import java.awt.event.ActionListener; 10 import java.awt.event.MouseListener;11 10 import java.awt.event.MouseAdapter; 12 11 import java.awt.event.MouseEvent; 12 import java.awt.event.MouseListener; 13 13 14 14 import javax.swing.DefaultListModel; … … 23 23 import org.openstreetmap.josm.data.Preferences; 24 24 import org.openstreetmap.josm.gui.BookmarkList; 25 import org.openstreetmap.josm.gui.OptionPaneUtil;26 25 import org.openstreetmap.josm.tools.GBC; 27 26 … … 79 78 80 79 if (tempBookmark == null) { 81 OptionPaneUtil.showMessageDialog(80 JOptionPane.showMessageDialog( 82 81 Main.parent, 83 82 tr("Please enter the desired coordinates first."), … … 87 86 return; 88 87 } 89 tempBookmark.name = OptionPaneUtil.showInputDialog(88 tempBookmark.name = JOptionPane.showInputDialog( 90 89 Main.parent,tr("Please enter a name for the location."), 91 90 tr("Name of location"), … … 104 103 Object sel = bookmarks.getSelectedValue(); 105 104 if (sel == null) { 106 OptionPaneUtil.showMessageDialog(105 JOptionPane.showMessageDialog( 107 106 Main.parent, 108 107 tr("Select a bookmark first."), -
trunk/src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java
r1722 r2017 17 17 import javax.swing.JTextField; 18 18 import javax.swing.SwingUtilities; 19 import javax.swing.event.DocumentEvent; 19 20 import javax.swing.event.DocumentListener; 20 import javax.swing.event.DocumentEvent;21 21 22 22 import org.openstreetmap.josm.data.Bounds; -
trunk/src/org/openstreetmap/josm/gui/download/PlaceSelection.java
r1857 r2017 32 32 33 33 import org.openstreetmap.josm.Main; 34 import org.openstreetmap.josm.gui.OptionPaneUtil;35 import org.openstreetmap.josm.gui.download.DownloadDialog;36 import org.openstreetmap.josm.gui.download.DownloadSelection;37 34 import org.openstreetmap.josm.tools.GBC; 38 35 import org.xml.sax.Attributes; … … 167 164 if(searchtext.length()==0) 168 165 { 169 OptionPaneUtil.showMessageDialog(166 JOptionPane.showMessageDialog( 170 167 Main.parent, 171 168 tr("Please enter a search string"), … … 191 188 { 192 189 x.printStackTrace(); 193 OptionPaneUtil.showMessageDialog(190 JOptionPane.showMessageDialog( 194 191 Main.parent, 195 192 tr("Cannot read place search results from server"), -
trunk/src/org/openstreetmap/josm/gui/download/SlippyMapChooser.java
r1879 r2017 13 13 import java.awt.Rectangle; 14 14 import java.awt.Toolkit; 15 import java.awt.geom.Point2D;16 15 import java.util.Vector; 17 16
Note:
See TracChangeset
for help on using the changeset viewer.