Ignore:
Timestamp:
2013-04-19T22:21:57+02:00 (11 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/preferences/server/OAuthAuthenticationPreferencesPanel.java

    r5422 r5886  
    2222import javax.swing.JLabel;
    2323import javax.swing.JPanel;
    24 import javax.swing.JTextField;
    2524
    2625import org.openstreetmap.josm.Main;
     
    3433import org.openstreetmap.josm.io.auth.CredentialsManager;
    3534import org.openstreetmap.josm.tools.ImageProvider;
     35import org.openstreetmap.josm.gui.widgets.JosmTextField;
    3636
    3737/**
     
    214214     */
    215215    private class AlreadyAuthorisedPanel extends JPanel {
    216         private JTextField tfAccessTokenKey;
    217         private JTextField tfAccessTokenSecret;
     216        private JosmTextField tfAccessTokenKey;
     217        private JosmTextField tfAccessTokenSecret;
    218218
    219219        protected void build() {
     
    238238            gc.gridx = 1;
    239239            gc.weightx = 1.0;
    240             add(tfAccessTokenKey = new JTextField(), gc);
     240            add(tfAccessTokenKey = new JosmTextField(), gc);
    241241            tfAccessTokenKey.setEditable(false);
    242242
     
    250250            gc.gridx = 1;
    251251            gc.weightx = 1.0;
    252             add(tfAccessTokenSecret = new JTextField(), gc);
     252            add(tfAccessTokenSecret = new JosmTextField(), gc);
    253253            tfAccessTokenSecret.setEditable(false);
    254254
Note: See TracChangeset for help on using the changeset viewer.