Ignore:
Timestamp:
2013-09-26T00:09:27+02:00 (11 years ago)
Author:
donvip
Message:

[josm_elevationprofile] makes plugin compile with Java 6 (again)

File:
1 edited

Legend:

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

    r29961 r29963  
    7878        private JLabel totalTimeLabel;
    7979        private JLabel distLabel;
    80         private JComboBox<IElevationProfile> trackCombo;
     80        private JComboBox trackCombo;
    8181        private JButton zoomButton;
    8282       
     
    185185                zoomButton.setEnabled(false);
    186186               
    187                 trackCombo = new JComboBox<IElevationProfile>(new TrackModel());               
     187                trackCombo = new JComboBox(new TrackModel());           
    188188                trackCombo.setPreferredSize(new Dimension(200, 24)); // HACK!
    189189                trackCombo.setEnabled(false); // we have no model on startup
     
    452452       
    453453       
    454         class TrackModel implements ComboBoxModel<IElevationProfile> {
     454        class TrackModel implements ComboBoxModel {
    455455            private Collection<ListDataListener> listeners;
    456456
Note: See TracChangeset for help on using the changeset viewer.