Changeset 8426 in josm for trunk/src/org/openstreetmap/josm/gui/io/DownloadPrimitivesWithReferrersTask.java
- Timestamp:
- 2015-05-26T01:37:50+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/DownloadPrimitivesWithReferrersTask.java
r8378 r8426 49 49 50 50 /** Temporary layer where downloaded primitives are put */ 51 private OsmDataLayer tmpLayer;51 private final OsmDataLayer tmpLayer; 52 52 /** Reference to the task that download requested primitives */ 53 53 private DownloadPrimitivesTask mainTask; … … 209 209 JPanel p = new JPanel(new GridBagLayout()); 210 210 p.add(new HtmlPanel(text), GBC.eop()); 211 JosmTextArea txt = new JosmTextArea(); 211 212 if (listLabel != null) { 212 213 JLabel missing = new JLabel(listLabel); 213 214 missing.setFont(missing.getFont().deriveFont(Font.PLAIN)); 215 missing.setLabelFor(txt); 214 216 p.add(missing, GBC.eol()); 215 217 } 216 JosmTextArea txt = new JosmTextArea();217 218 txt.setFont(GuiHelper.getMonospacedFont(txt)); 218 219 txt.setEditable(false); … … 227 228 Main.parent, 228 229 title, 229 new String[] { tr("Ok")})230 .setButtonIcons(new String[] { "ok"})230 new String[] {tr("Ok")}) 231 .setButtonIcons(new String[] {"ok"}) 231 232 .setIcon(msgType) 232 233 .setContent(p, false);
Note:
See TracChangeset
for help on using the changeset viewer.