Changeset 2345 in josm


Ignore:
Timestamp:
2009-10-29T05:39:22+01:00 (14 years ago)
Author:
Gubaer
Message:

Minor updates in Download Dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java

    r2344 r2345  
    2424
    2525import javax.swing.AbstractAction;
     26import javax.swing.BorderFactory;
    2627import javax.swing.JCheckBox;
    2728import javax.swing.JComponent;
     
    5455    /** the unique instance of the download dialog */
    5556    static private DownloadDialog instance;
    56    
    57    
     57       
    5858    /**
    5959     * Replies the unique instance of the download dialog
     
    7474    private boolean canceled;
    7575
    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;
    7878    /** the download action and button */
    7979    private DownloadAction actDownload;
     
    8484        JPanel pnl = new JPanel();
    8585        pnl.setLayout(new GridBagLayout());
     86        pnl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
    8687
    8788        // adding the download tasks
    8889        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."));
    8992        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."));
    9095        pnl.add(cbDownloadGpxData,  GBC.eol().insets(20,0,0,0));
    9196       
     
    108113   
    109114        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>"));
    110117        pnl.add(cbNewLayer, GBC.eol().insets(0,5,0,0));
    111118
Note: See TracChangeset for help on using the changeset viewer.