Changeset 30049 in osm for applications/editors/josm


Ignore:
Timestamp:
2013-11-13T21:54:50+01:00 (11 years ago)
Author:
belecker
Message:

Tracer2: Change from Java 1.7 to 1.6.

Location:
applications/editors/josm/plugins/tracer2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/tracer2/LanguageGen/messages.po

    r30047 r30049  
    99"Project-Id-Version: PACKAGE VERSION\n"
    1010"Report-Msgid-Bugs-To: \n"
    11 "POT-Creation-Date: 2013-11-11 18:11+0100\n"
     11"POT-Creation-Date: 2013-11-13 21:53+0100\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/preferences/ServerParam.java

    r30047 r30049  
    3131
    3232import org.openstreetmap.josm.Main;
    33 import org.openstreetmap.josm.gui.JMultilineLabel;
     33import org.openstreetmap.josm.gui.widgets.JMultilineLabel;
    3434import org.openstreetmap.josm.tools.GBC;
    3535
  • applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/preferences/ServerParamDialog.java

    r30047 r30049  
    5656    private JTextField m_oDescription = new JTextField();
    5757    private JTextArea m_oUrl = new JTextArea(5,5);
    58     private JComboBox<String> m_oTileSize;
    59     private JComboBox<String> m_oResolution;
     58    private JComboBox m_oTileSize;
     59    private JComboBox m_oResolution;
    6060    //private JTextField m_oSkipBottom = new JTextField();
    61     private JComboBox<String> m_oMode;
     61    private JComboBox m_oMode;
    6262    private JTextField m_oThreshold = new JTextField();
    63     private JComboBox<String> m_oPointsPerCircle;
     63    private JComboBox m_oPointsPerCircle;
    6464    private JTextField m_oTag = new JTextField();
    6565    private JTextField m_oPreferredValues = new JTextField();
     
    112112    }
    113113   
    114     private void loadComboBox( JComboBox<String> c, String strValue, String[] astrValues ) {
     114    private void loadComboBox( JComboBox c, String strValue, String[] astrValues ) {
    115115        int pos = 0;
    116116        for ( String str: astrValues ) {
     
    123123    }
    124124   
    125     private String saveComboBox( JComboBox<String> c, String[] astrValues ) {
     125    private String saveComboBox( JComboBox c, String[] astrValues ) {
    126126        return astrValues[c.getSelectedIndex()];
    127127    }
     
    140140        setButtonIcons(new String[] { "ok.png", "cancel.png" });
    141141       
    142         m_oTileSize = new JComboBox<String>(m_astrTileSize);
    143         m_oResolution = new JComboBox<String>(m_astrResolution);
    144         m_oMode = new JComboBox<String>(m_astrMode);
    145         m_oPointsPerCircle = new JComboBox<String>(m_astrPointsPerCircle);
     142        m_oTileSize = new JComboBox(m_astrTileSize);
     143        m_oResolution = new JComboBox(m_astrResolution);
     144        m_oMode = new JComboBox(m_astrMode);
     145        m_oPointsPerCircle = new JComboBox(m_astrPointsPerCircle);
    146146       
    147147        load();
  • applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/preferences/ServerParamSelectDialog.java

    r30047 r30049  
    3939        private static final long serialVersionUID = 5655941545321036641L;
    4040       
    41         private JComboBox<String> m_oComboBox;
     41        private JComboBox m_oComboBox;
    4242    List<ServerParam> m_listServerParam;
    4343    private boolean m_bShow = true;
     
    7474                i++;
    7575        }
    76         m_oComboBox = new JComboBox<String>(astr);
     76        m_oComboBox = new JComboBox(astr);
    7777        m_oComboBox.setSelectedIndex(pos);
    7878       
Note: See TracChangeset for help on using the changeset viewer.