Ignore:
Timestamp:
2013-04-19T22:21:57+02:00 (13 years ago)
Author:
Don-vip
Message:

see #4429 - Right click menu "undo, cut, copy, paste, delete, select all" for each text component (originally based on patch by NooN)

File:
1 edited

Legend:

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

    r5679 r5886  
    5353import javax.swing.JSeparator;
    5454import javax.swing.JSlider;
    55 import javax.swing.JTextField;
    5655import javax.swing.ListSelectionModel;
    5756import javax.swing.SwingConstants;
     
    8180import org.openstreetmap.josm.tools.PrimaryDateParser;
    8281import org.xml.sax.SAXException;
     82import org.openstreetmap.josm.gui.widgets.JosmTextField;
    8383
    8484/** This class displays the window to select the GPX file and the offset (timezone + delta).
     
    119119    JPanel outerPanel;
    120120    JosmComboBox cbGpx;
    121     JTextField tfTimezone;
    122     JTextField tfOffset;
     121    JosmTextField tfTimezone;
     122    JosmTextField tfOffset;
    123123    JCheckBox cbExifImg;
    124124    JCheckBox cbTaggedImg;
     
    224224        JPanel panel;
    225225        JLabel lbExifTime;
    226         JTextField tfGpsTime;
     226        JosmTextField tfGpsTime;
    227227        JosmComboBox cbTimezones;
    228228        ImageDisplay imgDisp;
     
    269269            panelTf.add(new JLabel(tr("Gps time (read from the above photo): ")), gc);
    270270
    271             tfGpsTime = new JTextField(12);
     271            tfGpsTime = new JosmTextField(12);
    272272            tfGpsTime.setEnabled(false);
    273273            tfGpsTime.setMinimumSize(new Dimension(155, tfGpsTime.getMinimumSize().height));
     
    495495        }
    496496
    497         tfTimezone = new JTextField(10);
     497        tfTimezone = new JosmTextField(10);
    498498        tfTimezone.setText(formatTimezone(timezone));
    499499
     
    505505        delta = delta / 1000;  // milliseconds -> seconds
    506506
    507         tfOffset = new JTextField(10);
     507        tfOffset = new JosmTextField(10);
    508508        tfOffset.setText(Long.toString(delta));
    509509
Note: See TracChangeset for help on using the changeset viewer.