Ignore:
Timestamp:
2013-09-24T23:04:02+02:00 (11 years ago)
Author:
donvip
Message:

[josm_elevationprofile] plugins code must remain Java6-compatible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/ElevationProfile/src/org/openstreetmap/josm/plugins/elevation/gui/ElevationProfileDialog.java

    r29958 r29959  
    3232import javax.swing.JLabel;
    3333import javax.swing.JPanel;
    34 import javax.swing.event.ListDataEvent;
    3534import javax.swing.event.ListDataListener;
    3635
     
    7574        private JLabel totalTimeLabel;
    7675        private JLabel distLabel;
    77         private JComboBox<IElevationProfile> trackCombo;
     76        private JComboBox trackCombo;
    7877       
    7978        /* Listener to the elevation model */
     
    167166                trackPanel.add(lbTrack);
    168167               
    169                 trackCombo = new JComboBox<IElevationProfile>(new TrackModel());
     168                trackCombo = new JComboBox(new TrackModel());
    170169                trackPanel.add(trackCombo);
    171170
     
    421420       
    422421       
    423         class TrackModel implements ComboBoxModel<IElevationProfile> {
     422        class TrackModel implements ComboBoxModel {
    424423            private Collection<ListDataListener> listeners;
    425424
Note: See TracChangeset for help on using the changeset viewer.