Ignore:
Timestamp:
2013-04-19T22:21:57+02:00 (12 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/oauth/AccessTokenInfoPanel.java

    r3530 r5886  
    1111import javax.swing.JLabel;
    1212import javax.swing.JPanel;
    13 import javax.swing.JTextField;
    1413
    1514import org.openstreetmap.josm.data.oauth.OAuthToken;
    1615import org.openstreetmap.josm.gui.preferences.server.OAuthAccessTokenHolder;
     16import org.openstreetmap.josm.gui.widgets.JosmTextField;
    1717
    1818/**
     
    2222public class AccessTokenInfoPanel extends JPanel {
    2323
    24     private JTextField tfAccessTokenKey;
    25     private JTextField tfAccessTokenSecret;
     24    private JosmTextField tfAccessTokenKey;
     25    private JosmTextField tfAccessTokenSecret;
    2626    private JCheckBox cbSaveAccessTokenInPreferences;
    2727
     
    3939        gc.gridx = 1;
    4040        gc.weightx = 1.0;
    41         add(tfAccessTokenKey = new JTextField(), gc);
     41        add(tfAccessTokenKey = new JosmTextField(), gc);
    4242        tfAccessTokenKey.setEditable(false);
    4343
     
    5151        gc.gridx = 1;
    5252        gc.weightx = 1.0;
    53         add(tfAccessTokenSecret = new JTextField(), gc);
     53        add(tfAccessTokenSecret = new JosmTextField(), gc);
    5454        tfAccessTokenSecret.setEditable(false);
    5555
Note: See TracChangeset for help on using the changeset viewer.