Changeset 2017 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/PluginPreference.java
- Timestamp:
- 2009-08-30T19:07:24+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/PluginPreference.java
r1865 r2017 23 23 24 24 import org.openstreetmap.josm.Main; 25 import org.openstreetmap.josm.gui.OptionPaneUtil;26 25 import org.openstreetmap.josm.plugins.PluginDownloader; 27 26 import org.openstreetmap.josm.plugins.PluginSelection; … … 88 87 buttons.add(new JButton(new AbstractAction(tr("Add")){ 89 88 public void actionPerformed(ActionEvent e) { 90 String s = OptionPaneUtil.showInputDialog(89 String s = JOptionPane.showInputDialog( 91 90 gui, 92 91 tr("Add JOSM Plugin description URL."), … … 102 101 public void actionPerformed(ActionEvent e) { 103 102 if (list.getSelectedValue() == null) { 104 OptionPaneUtil.showMessageDialog(103 JOptionPane.showMessageDialog( 105 104 gui, 106 105 tr("Please select an entry."), … … 110 109 return; 111 110 } 112 String s = (String) OptionPaneUtil.showInputDialog(111 String s = (String)JOptionPane.showInputDialog( 113 112 Main.parent, 114 113 tr("Edit JOSM Plugin description URL."), … … 125 124 public void actionPerformed(ActionEvent event) { 126 125 if (list.getSelectedValue() == null) { 127 OptionPaneUtil.showMessageDialog(126 JOptionPane.showMessageDialog( 128 127 gui, 129 128 tr("Please select an entry."), … … 137 136 }), GBC.eol().fill(GBC.HORIZONTAL)); 138 137 p.add(buttons, GBC.eol()); 139 int answer = OptionPaneUtil.showConfirmationDialog(138 int answer = JOptionPane.showConfirmDialog( 140 139 gui, 141 140 p,
Note:
See TracChangeset
for help on using the changeset viewer.