Changeset 2345 in josm for trunk/src/org
- Timestamp:
- 2009-10-29T05:39:22+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java
r2344 r2345 24 24 25 25 import javax.swing.AbstractAction; 26 import javax.swing.BorderFactory; 26 27 import javax.swing.JCheckBox; 27 28 import javax.swing.JComponent; … … 54 55 /** the unique instance of the download dialog */ 55 56 static private DownloadDialog instance; 56 57 57 58 58 /** 59 59 * Replies the unique instance of the download dialog … … 74 74 private boolean canceled; 75 75 76 private JCheckBox cbDownloadOsmData = new JCheckBox(tr("OpenStreetMap data"), true);77 private JCheckBox cbDownloadGpxData = new JCheckBox(tr("Raw GPS data"));76 private JCheckBox cbDownloadOsmData; 77 private JCheckBox cbDownloadGpxData; 78 78 /** the download action and button */ 79 79 private DownloadAction actDownload; … … 84 84 JPanel pnl = new JPanel(); 85 85 pnl.setLayout(new GridBagLayout()); 86 pnl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10)); 86 87 87 88 // adding the download tasks 88 89 pnl.add(new JLabel(tr("Data Sources and Types")), GBC.eol().insets(0,5,0,0)); 90 cbDownloadOsmData = new JCheckBox(tr("OpenStreetMap data"), true); 91 cbDownloadOsmData.setToolTipText(tr("Select to download OSM data in the selected download area.")); 89 92 pnl.add(cbDownloadOsmData, GBC.eol().insets(20,0,0,0)); 93 cbDownloadGpxData = new JCheckBox(tr("Raw GPS data")); 94 cbDownloadGpxData.setToolTipText(tr("Select to download GPS traces in the selected download area.")); 90 95 pnl.add(cbDownloadGpxData, GBC.eol().insets(20,0,0,0)); 91 96 … … 108 113 109 114 cbNewLayer = new JCheckBox(tr("Download as new layer")); 115 cbNewLayer.setToolTipText(tr("<html>Select to download data into a new data layer.<br>" 116 +"Unselect to download into the currently active data layer.</html>")); 110 117 pnl.add(cbNewLayer, GBC.eol().insets(0,5,0,0)); 111 118
Note:
See TracChangeset
for help on using the changeset viewer.