Ignore:
Timestamp:
30.08.2009 19:07:24 (3 years ago)
Author:
Gubaer
Message:

removed OptionPaneUtil
cleanup of deprecated Layer API
cleanup of deprecated APIs in OsmPrimitive and Way
cleanup of imports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/RawGpsLayer.java

    r1910 r2017  
    4141import org.openstreetmap.josm.gui.ConditionalOptionPaneUtil; 
    4242import org.openstreetmap.josm.gui.MapView; 
    43 import org.openstreetmap.josm.gui.OptionPaneUtil; 
    4443import org.openstreetmap.josm.gui.dialogs.LayerListDialog; 
    4544import org.openstreetmap.josm.gui.dialogs.LayerListPopup; 
     
    214213                    group.setSelected(r[0].getModel(), true); 
    215214                } 
    216                 int answer = OptionPaneUtil.showConfirmationDialog( 
     215                int answer = JOptionPane.showConfirmDialog( 
    217216                        Main.parent, 
    218217                        panel, 
     
    237236                JColorChooser c = new JColorChooser(Main.pref.getColor(marktr("gps point"), "layer "+getName(), Color.gray)); 
    238237                Object[] options = new Object[]{tr("OK"), tr("Cancel"), tr("Default")}; 
    239                 int answer = OptionPaneUtil.showOptionDialog( 
     238                int answer = JOptionPane.showOptionDialog( 
    240239                        Main.parent, 
    241240                        c, 
    242241                        tr("Choose a color"), 
    243242                        JOptionPane.OK_CANCEL_OPTION, 
    244                         JOptionPane.PLAIN_MESSAGE, options, options[0]); 
     243                        JOptionPane.PLAIN_MESSAGE, null,options, options[0]); 
    245244                switch (answer) { 
    246245                    case 0: 
Note: See TracChangeset for help on using the changeset viewer.