1. Disabling 'paste' in a jTextfield stackoverflow.comHi I have an app that is written in Swing, awt. I want to prevent users from pasting values into the textfields. is there any way to do this without using action listeners? |
2. How to disable copy and paste in a JTextField coderanch.com |
3. how can consume Paste content in the JTextField coderanch.com |
4. Copy and paste a value from a text field coderanch.comHi all, I have a text field in a swing applicaiton. It is placed in a panel. The field is a phone number field which already has a format like ( )_ _ _- _ _ _ _ eg. (123)456-7890. When i cut this number and place it in the same text field, i am getting the full number i am ... |
6. Copy paste operations in disabled textfields coderanch.com |
7. paste special symbols in JTextField java-forums.orgHi, I am unable to see the special symbols like greek character set when copied from character map of windows and pasted in the JTextField. eg: when I copy alpha, beta symbols from character map and paste in text field they are displayed as a,b respectively instead of displaying their actual symbols Regards, Kumar |
8. paste special symbols in JTextField forums.oracle.comJTextField jtf = new JTextField(30); Font font = new Font("Times New Roman", Font.PLAIN, 16); jtf.setFont(font); jtf.setText("Let's have some \u03c0"); Where unicode value 03c0 is the hex code for the Greek lower case PI. Gary P.S. I recall that there are some windows registry settings that control character sequences... I had to change this once when I was trying to enter special ... |