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

    r1890 r2017  
    7070import org.openstreetmap.josm.gui.MapFrame; 
    7171import org.openstreetmap.josm.gui.MapView; 
    72 import org.openstreetmap.josm.gui.OptionPaneUtil; 
    7372import org.openstreetmap.josm.gui.PleaseWaitRunnable; 
    7473import org.openstreetmap.josm.gui.dialogs.LayerListDialog; 
     
    731730            exifDate = ExifReader.readTime(f); 
    732731        } catch (ParseException e) { 
    733             OptionPaneUtil.showMessageDialog( 
     732            JOptionPane.showMessageDialog( 
    734733                    Main.parent, 
    735734                    tr("The date in file \"{0}\" could not be parsed.", f.getName()), 
     
    740739        } 
    741740        if (exifDate == null) { 
    742             OptionPaneUtil.showMessageDialog( 
     741            JOptionPane.showMessageDialog( 
    743742                    Main.parent, 
    744743                    tr("There is no EXIF time within the file \"{0}\".", f.getName()), 
     
    763762 
    764763        while (true) { 
    765             int answer = OptionPaneUtil.showConfirmationDialog( 
     764            int answer = JOptionPane.showConfirmDialog( 
    766765                    Main.parent, 
    767766                    p, 
     
    787786                return; 
    788787            } catch (NumberFormatException x) { 
    789                 OptionPaneUtil.showMessageDialog( 
     788                JOptionPane.showMessageDialog( 
    790789                        Main.parent, 
    791790                        tr("Time entered could not be parsed."), 
     
    794793                ); 
    795794            } catch (ParseException x) { 
    796                 OptionPaneUtil.showMessageDialog( 
     795                JOptionPane.showMessageDialog( 
    797796                        Main.parent, 
    798797                        tr("Time entered could not be parsed."), 
Note: See TracChangeset for help on using the changeset viewer.