Changeset 29317 in osm


Ignore:
Timestamp:
2013-03-02T21:56:22+01:00 (12 years ago)
Author:
donvip
Message:

[josm_improvewayaccuracy] - Replace Java7 code by Java6 code (see #josm8465)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/FastDraw/src/org/openstreetmap/josm/plugins/fastdraw/FastDrawConfigDialog.java

    r29303 r29317  
    55package org.openstreetmap.josm.plugins.fastdraw;
    66
    7 import java.awt.Component;
     7import static org.openstreetmap.josm.tools.I18n.tr;
     8
    89import java.awt.GridBagLayout;
    910import java.awt.event.ActionEvent;
    10 import javax.swing.JOptionPane;
    11 import org.openstreetmap.josm.tools.GBC;
    1211import java.text.NumberFormat;
    1312import java.text.ParseException;
     13
    1414import javax.swing.AbstractAction;
    1515import javax.swing.JButton;
    16 import org.openstreetmap.josm.Main;
    17 import org.openstreetmap.josm.gui.ExtendedDialog;
    1816import javax.swing.JCheckBox;
    1917import javax.swing.JComboBox;
    2018import javax.swing.JFormattedTextField;
     19import javax.swing.JLabel;
     20import javax.swing.JOptionPane;
    2121import javax.swing.JPanel;
    22 import javax.swing.JLabel;
     22
     23import org.openstreetmap.josm.Main;
     24import org.openstreetmap.josm.gui.ExtendedDialog;
    2325import org.openstreetmap.josm.gui.widgets.HistoryComboBox;
    24 import org.openstreetmap.josm.io.remotecontrol.AddTagsDialog;
    25 import static org.openstreetmap.josm.tools.I18n.tr;
     26import org.openstreetmap.josm.tools.GBC;
    2627import org.openstreetmap.josm.tools.ImageProvider;
    2728import org.openstreetmap.josm.tools.TextTagParser;
     
    4748//            tr("Autosimplify and save"),tr("Simplify and wait"),tr("Simplify and save"),
    4849//            tr("Save as is")});
    49         JComboBox<String> combo1=new JComboBox(new String[]{tr("Autosimplify"),
     50        JComboBox combo1=new JComboBox(new String[]{tr("Autosimplify"),
    5051            tr("Simplify with initial epsilon"),tr("Save as is")});
    5152        JCheckBox snapCb=new JCheckBox(tr("Snap to nodes"));
Note: See TracChangeset for help on using the changeset viewer.