Changeset 23880 in osm for applications/editors/josm/plugins
- Timestamp:
- 2010-10-27T22:17:42+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/AddressEdit/src/org/openstreetmap/josm/plugins/addressEdit/gui/AddressEditDialog.java
r23879 r23880 29 29 30 30 import javax.swing.JButton; 31 import javax.swing.J Frame;31 import javax.swing.JDialog; 32 32 import javax.swing.JLabel; 33 import javax.swing.JOptionPane; 33 34 import javax.swing.JPanel; 34 35 import javax.swing.JScrollPane; … … 42 43 import org.openstreetmap.gui.jmapviewer.JMapViewer; 43 44 import org.openstreetmap.gui.jmapviewer.MapMarkerDot; 45 import org.openstreetmap.josm.Main; 44 46 import org.openstreetmap.josm.data.osm.Node; 45 47 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 55 57 import org.openstreetmap.josm.plugins.addressEdit.StringUtils; 56 58 57 public class AddressEditDialog extends J Frameimplements ActionListener, ListSelectionListener, IAddressEditContainerListener {59 public class AddressEditDialog extends JDialog implements ActionListener, ListSelectionListener, IAddressEditContainerListener { 58 60 private static final String UNRESOLVED_HEADER_FMT = tr("Unresolved Addresses (%d)"); 59 61 private static final String STREET_HEADER_FMT = tr("Streets (%d)"); … … 82 84 */ 83 85 public AddressEditDialog(AddressEditContainer addressEditContainer) throws HeadlessException { 84 super(tr("Edit Addresses")); 86 super(JOptionPane.getFrameForComponent(Main.parent), tr("Edit Addresses"), false); 85 87 86 88 this.editContainer = addressEditContainer;
Note:
See TracChangeset
for help on using the changeset viewer.