Changeset 15586 in josm for trunk/src/org/openstreetmap/josm/io/remotecontrol
- Timestamp:
- 2019-12-13T00:48:33+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/RequestHandler.java
r14153 r15586 188 188 label.setText(message.replaceFirst("<div>", "<div style=\"width:" + maxWidth + "px;\">")); 189 189 } 190 Object[] choices = new Object[]{tr("Yes, always"), tr("Yes, once"), tr("No")};190 Object[] choices = {tr("Yes, always"), tr("Yes, once"), tr("No")}; 191 191 int choice = JOptionPane.showOptionDialog(MainApplication.getMainFrame(), label, tr("Confirm Remote Control action"), 192 192 JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, choices, choices[1]);
Note:
See TracChangeset
for help on using the changeset viewer.
