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/markerlayer/PlayHeadMarker.java

    r1865 r2017  
    2626import org.openstreetmap.josm.data.gpx.WayPoint; 
    2727import org.openstreetmap.josm.gui.MapView; 
    28 import org.openstreetmap.josm.gui.OptionPaneUtil; 
    2928import org.openstreetmap.josm.gui.layer.GpxLayer; 
    3029import org.openstreetmap.josm.tools.AudioPlayer; 
     
    168167        if (ca == null) { 
    169168            /* Not close enough to track, or no audio marker found for some other reason */ 
    170             OptionPaneUtil.showMessageDialog( 
     169            JOptionPane.showMessageDialog( 
    171170                    Main.parent, 
    172171                    tr("You need to drag the play head near to the GPX track whose associated sound track you were playing (after the first marker)."), 
     
    223222            WayPoint cw = recent.parentLayer.fromLayer.nearestPointOnTrack(en, enPlus25px.east() - en.east()); 
    224223            if (cw == null) { 
    225                 OptionPaneUtil.showMessageDialog( 
     224                JOptionPane.showMessageDialog( 
    226225                        Main.parent, 
    227226                        tr("You need to SHIFT-drag the play head onto an audio marker or onto the track point where you want to synchronize."), 
     
    238237        if(ca == null) 
    239238        { 
    240             OptionPaneUtil.showMessageDialog( 
     239            JOptionPane.showMessageDialog( 
    241240                    Main.parent, 
    242241                    tr("Unable to create new audio marker."), 
     
    247246        } 
    248247        else if (recent.parentLayer.synchronizeAudioMarkers(ca)) { 
    249             OptionPaneUtil.showMessageDialog( 
     248            JOptionPane.showMessageDialog( 
    250249                    Main.parent, 
    251250                    tr("Audio synchronized at point {0}.", ca.text), 
     
    256255            endDrag(false); 
    257256        } else { 
    258             OptionPaneUtil.showMessageDialog( 
     257            JOptionPane.showMessageDialog( 
    259258                    Main.parent, 
    260259                    tr("Unable to synchronize in layer being played."), 
Note: See TracChangeset for help on using the changeset viewer.