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/Main.java

    r1990 r2017  
    4242import org.openstreetmap.josm.gui.MainMenu; 
    4343import org.openstreetmap.josm.gui.MapFrame; 
    44 import org.openstreetmap.josm.gui.OptionPaneUtil; 
    4544import org.openstreetmap.josm.gui.SplashScreen; 
    4645import org.openstreetmap.josm.gui.dialogs.LayerListDialog; 
     
    286285            Main.proj = (Projection)Class.forName(name).newInstance(); 
    287286        } catch (final Exception e) { 
    288             OptionPaneUtil.showMessageDialog( 
     287            JOptionPane.showMessageDialog( 
    289288                    Main.parent, 
    290289                    tr("The projection {0} could not be activated. Using Mercator", name), 
     
    438437            final Bounds b = OsmUrlToBounds.parse(s); 
    439438            if (b == null) { 
    440                 OptionPaneUtil.showMessageDialog( 
     439                JOptionPane.showMessageDialog( 
    441440                        Main.parent, 
    442441                        tr("Ignoring malformed URL: \"{0}\"", s), 
     
    456455                main.menu.openFile.openFile(new File(new URI(s))); 
    457456            } catch (URISyntaxException e) { 
    458                 OptionPaneUtil.showMessageDialog( 
     457                JOptionPane.showMessageDialog( 
    459458                        Main.parent, 
    460459                        tr("Ignoring malformed file URL: \"{0}\"", s), 
Note: See TracChangeset for help on using the changeset viewer.