Top "Jtextfield" questions

JTextField is a Java Swing component that allows the editing of a single line of text.

JTextField, using Document Filter to filter integers and periods

EDIT - added at then end of the post the answer we were able to achieve This is my first …

java swing jtextfield documentfilter
Java Swing JtextField inset

I am working with Netbeans GUI and I would like to add 3 pixels of space at the beginning of my …

java swing border margin jtextfield
JTextArea and JTextField internal padding on text

I would like to increase the spacing / padding / insets for the JTextField and JTextArea. Effectively increase the spacing between the …

java swing jtextfield jtextarea
select all on focus in lots of jTextField

I have lots of jTextFields in my application (About 34 jTextFields) and I want all of them select all of their …

java swing focus jtextfield selectall
Swing - Thread.sleep() stop JTextField.setText() working

Possible Duplicate: using sleep() for a single thread I'm having issues with JTextField.setText() when using Thread.sleep(). This is …

java swing jtextfield thread-sleep
Disabling 'paste' in a jTextfield

I have an app that is written in Swing, awt. I want to prevent users from pasting values into the …

java swing awt jtextfield
Change Color SetEnabled

My question is this: Default change the color to give a JTextField setEnabled (false) for example is black and proven …

java swing colors jtextfield uimanager
Filtering JList based on JTextField

I have a JTextField and a JList in my program. The JList contains the user's contacts. I'd like to filter …

java swing filter jtextfield jlist
java documentlistener

I'm trying to call method after changing text of JTextField. textField.getDocument().addDocumentListener(new DocumentListener() { public void changedUpdate(DocumentEvent arg0) { …

java swing jtextfield documentlistener
How to Check if all the JTexFields are empty or not?

I am using a for loop to create 9 JTextFields and this is working fine. My problem is, I want to …

java swing jtextfield is-empty