diff --git a/MasterPassword/Java/masterpassword-gui/src/main/java/com/lyndir/masterpassword/gui/PasswordFrame.java b/MasterPassword/Java/masterpassword-gui/src/main/java/com/lyndir/masterpassword/gui/PasswordFrame.java index 0a484a93..3123ebb0 100644 --- a/MasterPassword/Java/masterpassword-gui/src/main/java/com/lyndir/masterpassword/gui/PasswordFrame.java +++ b/MasterPassword/Java/masterpassword-gui/src/main/java/com/lyndir/masterpassword/gui/PasswordFrame.java @@ -171,6 +171,7 @@ public class PasswordFrame extends JFrame implements DocumentListener { passwordField.setHorizontalAlignment( JTextField.CENTER ); passwordField.setAlignmentX( Component.CENTER_ALIGNMENT ); passwordField.setEditable( false ); + passwordField.putClientProperty( "JPasswordField.cutCopyAllowed", true ); passwordEchoChar = passwordField.getEchoChar(); passwordEchoFont = passwordField.getFont().deriveFont( 40f ); updateMask();