Hot questions for JTextField

Top Java Programmings / JTextField
Categories Question List
Using JTextField in actionevent Call actionPerformed of a JTextField using its object
Using values from one textField into another textField
How to add ActionEvent to Two JTextFields
Java: Display actionEvent in a field
Unable to resolve field in Java when storing values from JTextField
Using JTextField in actionlistener How to add actionlistener to textfield in Java
Having Trouble Using JButton to Increment/Decrement value of JTextField
Action listener for a JTextField to change value in another textfield
Making a JButton that switches text from 2 JTextFields on click with mouse
formatting JTextfields using another class
jbuttons and a jtextfield that has an action listener
Run JButton ActionListener in different class
Java JTextField actionListener not working
Hitting enter to move a to next text field, like tab key?
Retrieving and Analysing data from multiple JTextFields
Checking if JTextField not empty
Using JTextField in arraylist Check if JTextfield value exist in ArrayList
how to get the values from multiple textboxes in java swing
How to get index of an object with documentListener?
how to re-order an arrayList of JLabel to show a Label on the top of the list
Getting Index of ArrayList of Array
Using JTextField in arrays Pack correctly arrays of elements on JFrame
JTextField set text output wrong
JTextfield array, retrieve name and text
JSlider and JTextField array change listener - Local variables referenced from inner class must be final or effectively final
How to properly add JTextField components in the array?
How can I get the value of the 'Array of JTextField' and store it in an Array Integer?
Comparing JTextField value to multiple arrays
Creating arrays of swing components or specifically JTextFields and giving each of them different properties in java
Using JTextField in awt How can I map an action for option (Mac keyboard) up for a JTextField?
JLabel - On Mouse Entered change to a JTextField
Update my textField every 5 seconds
JLabel - On Mouse Entered change to JTextField
I have a problem with my table program. Could one tell me how to solve it?
How to add JLabel to existing JTextField
Text field events, rules etc
how to use JTextField to show a negative or positive result using ActionListener on the JTextField itself
Removing the text from a JPanel when a certain button is clicked
JTextField size can't be changed
Using JTextField in database JTable filter data not working properly
How to restrict JtextField from putting extra spaces in database?
How to query SQLite database based on textfield entry with "0's"?
How can I insert data into JComboBox using JTextField
Prepared statement inserting String " " into database instead of null
Using JTextField in documentfilter Checking Text Backspace Issue
Capitalize first letters in a Textfield in Java
How can I set fiscal code document filter in JTextField
How to remove DocumentFilter text from JTextField on button click
How to get type of JTextfield from DocumentFilter
Pasting/Replacing a character using mouse selection in Java textfield (with specified character limit)
Using JTextField in documentlistener DocumentListener or KeyListener
how to update JTextField from another JtextField
One Key Listener for a lot of JTextField
Java Listener not working unless i press enter how to enable it working once text box changed
How to remove content of JTextField while DocumentListener is running?
read data from file to jtextfield1 and display in jtextfield2
JTextFields and DocumentListeners
Using JTextField in eclipse JTextField Everything looks ok in Eclipse but won't compile
How to fetch data of textfield from another class in Java?
JTextField not editing JTextInput
How to update JTextfield after click SAVE button
Highlight all words in jTextField that the user puts into search for
How to use scrollbar for a JTextField in JAVA using eclipse GUI drag and drop tool?
Using JTextField in focus How to remove the sound played when focus is transferred to an uneditable JTextComponent
Have arrow key KeyBindings still work even when JTextField is selected
Java Swing: Controlling focus with textfield and autocompletion dialog/menu
JTextField select all content when focus gained
How to empty JTextField if gained focus
How to request focus on JComponent after changing JPanel in JFrame
Change the text of a focused JTextField
Moving a focus to Next JTextfield when it crosses it Jtextfieldlimit
How to disable automatic focus on textField
How to activate JTextField with a keyboard
A method that returns the object last in focus?
problems with focuslost in java
How to find the JTextField in focus in Java?
How to check which text field is focusable?
How to automatically focus JTextField?
JPopupMenu that automatically resizes as I write in the JTextField inside
Clear current FocusOwner (jTextfield)
Focused JTextField prevents access to ActionMap of JPanel
How to jtextField focus event in NetBeas
Prevent breaking of JTextField / JDialog with repeated transferFocus()
JTextField text cleared on focus and reappears when cursor is removed
How to find the name of current JTextField of a View in Java?
Using JTextField in for loop Using a for loop to set values in jTextFields
Creating JTextFields in a for loop to calculate pow of a number stepwise
Creating Textfields by loop
How to store and display the for loop contents in a JTextField?
Java getText of looped multiple JTextFields
Using JTextField in gettext Null Pointer Exception when using getText() function with JTextField
JTextField.getText() returning null value and radiobuttons.isSelected() always returns false
java.lang.reflect.field getText when field is JTextfield
What is the getText() method getting from my JTextField?
getText for JTextField input after action event
jTextField and Jpanel color output
getText wont work on a JTextField for some reason
getting refrence for JTextFeild in actionListener
Outputting the value from a JTextField using .getText()
Using JTextField in gridbaglayout java unreasonable jtextfield sizing issue
How do I line up my JLabel with the row of JLabels below it
Overlapping in JDialog w/ GridBagLayout when setting gridwidth
How to align JLabel next to a JTextField in a GridBagLayout
GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
JTextField only shows a slit with GridBagLayout, solutions i found for similar problems didnt work
JTextfield full width in gridbaglayout
How can I get rid of the unwanted space between a Java JTextField and a JLabel using the GridBagLayout
Placing java components on gridbaglayout above and side by side in same layout
Using JTextField in if statement How to make if statement that checks if all or just one text field is empty
Save only if multiple JTextFields are not empty
Trouble with ActionListener and an IF statement
Take different actions depending on jTextField value
Force the user to add only Hebrew letters
Equation answer won't output to JTextField with using CoomboBox if statments
How do I printout multiple text in JText Field using if/else statement?
Using JTextField in input How to keep Focus on JTextField while clicking input number buttons?
How to set different Limit in JTextField for showing Input Hint and Input
How can I validate user input once they click tab key or click on another field?
Allow textfield to input only number [Java]
JTextField save user input as a String
Finding out how many words are in the text input of JTextField
How to manipulate text pasted into a JTextField, but not typed input?
Limit the amount of characters typed into a JTextField
Get input from JTextfield
JTextField take twice the input, but why?
how to make JTextField input accessable in other classes
Getting text input without swing in Java
Change input language in java
Improper use of JTextField (maybe) Help creating a GUI
In Java, how can I avoid blank jtextfield input?
Make a JTextField recieve input even with windows not focused
I can't input data in the fields
Running Non-Standard Evaluations based of input from JTextField (sin, cos, tan)
Event driven input vs turn based
Java GUI : Inputs in textfields change value in other textfield
Remove InputVerifier from JTextField
JTextField not accepting more than 1 input
JTextField input to Double
How to read user input from JTextfield in another class Java
Java : Any way to save a string input into pdf
Getting user input from JtextArea
Java Text Field Input Issue
How to: get input from JTextField after button is pressed
How can I clear the JTextField and have it ready for input immediately without requiring a click or other action?
How to receive input from textfield to textarea and a lot more...?
How can I convert JTextField input into int for validation?
Cannot change input language in jTextField
Cannot change input language in jTextField
Java JTextField ActionListener check if the field has an input
How to wait for user input when using JTextFields
How to blank JTextfield after input
How to capture user input multiple times in a JTextField
TextField waiting for a user input
What's wrong with my JTextField?
how can i limit a value into a jtextfield without use a button?
Using JTextField in int Why does the DocumentFilter not give the intended result?
Korean characters are displayed as empty boxes on JTextField
Change Listener for a JTextfield
Removing the added border from JTextField and bringing it back to normal
JTextField appears in 2 locations when created inside paintComponent()
how to get a JTextField to check if the text is equal to an int
JTextField permanent Position/Location?
Is it possible to read multiple lines from textfile and export it to their respective jtextfields?
Typing into a text field then appending it to the text area getting weird output-GUI JAVA
How to get integer value from JTextField of Swing?
How to point out which jTextfield is empty
How to pass JTextField from JFrame into another JFrame?
Insert BufferedReader into JTextArea
(Answered) How do you forcibly set text in an active JTextField without throwing an exception?
Drawing a line at a specific point in JFrame
JTextField not appearing in GUI
DocumentFilter for negative and positive integer
Check user entered string against String and Int
I want to calculate the value of an integer in a text field while ignoring a string of text that is required before the integer?
How to stop list from converting mix of 1s and 0s into all 0s?
Customized JTextfield - Only Integer with Limitation
Error: incompatible types: double cannot be converted to JTextField
Java, JTextField .equals
setting text to bold using java
Reading from multiple JTextFields into array
Java Swing move JTextField values into second button
JFrame: How to add a button that adds a new text field to the frame?
Clear textfield on button click action in Swing
java - How do I display a character array in a JTextField
How do i link the buttons to the action listener and into the text field?
Small GUI issue I cannot fix. JTextFields
Java: how to allow backspace being pressed in JTextField
Putting Textfield value into array, ArrayIndexOutOfBoundsException
Need to make my texfield output bold, italic and both when the JCheckButtons are selected
Setting the maximum value that can be entered into a JFormattedTextField
java JTextField paintComponent Method called repeatedly. Is that normal?
error check the empty textField of int values
MigLayout: Put two JLabel on the same line separated by JTextField
How can i print the button name that trigger the event?
Store JTextField text into array and sum - Java
Loading text file data into JTextfield
How to display a textfield's text from a class into another class' label
Cannot set JTextField but can Output Variable
Printing contents of JTextField
Increment an integer in a JTextField by one
how to print text from a JtextField by clicking a JButton
How do I change the background colour of a JTextField once I press a button?
How to make JTextField as wide as the window
JTextField Data Validation
Error with basic textField actionListener (Error when commands are in the listener)
Set IP address inside JTextField in JAVA
Importing text into a JTable is not displaying
How do I convert a JTextFeild to an Integer array?
Java set JTextField position
how to know which JTextField is changed in a set of fields
Get JTextField string and insert into Google search
get ResultSet into JTxtField
how to print a glyph of supplementary characters in java onto my JTextField when i just click the button
Java Swing TextField Integer Value issue
Non-Static Variable Cannot be Referenced From a Static Context: New to GUIs
Integrating Swing in a simple text adventure game
How to enter integers to a textfield and add them to an array?
im trying to build a calculator in java gui
JTextField Validation with integers
Using JTextField in jbutton How do I increase the number in the JTextField every time I press the JButton?
Having a JTextField popup at a certain location after clicking a JButton
Using JTextField and JButton to open an url
JTextField - Moving cursor using a button
How to correctly position JButtons and size JTextFields?
Passing JButton action from one class to JTextfield in another class
How to use multiple button with multiple jtextField
Add and remove button dynamically in Swing frame
How to get the value of JTextField in Java Swing?
create different amount of JTextFields depending on which button was pressed
Formatting of components in Swing
Connection of JButton and JTextField?
JTextField Output to a new window with the use of JButton
How can i add a scrollbar with a Jtextfield box?
Making a button write to one JTextField in an Array
Using JTextField in jcheckbox How do I add JCheckBox next to each name that has been entered into an arraylist from a JTextField?
Using an itemListener with JCheckBox to show/hide JTextField
How to prevent reading input from text field if text field is disabled
How to save and load checkBox states and text Field values in java?
Swing remove JTexField and JLabel
How to link JcheckBoxes to JtextFields when they are being dynamically generated?
Using JTextField in jcombobox Effect on JTextfield due to JComboBox
Java Swing JComboBox uneditable
positionnig myJTextField beside JComboBox
Java Swing ComboBox not editabl *with MCVE*
How do i set the value in jTextField when i click an Item in jComboBox?
JTextField with JComboBox is not working properly
adjust JTextField with JComboBox
Set fields based on ComboBox Value Java
Swing java JComboBox disappears whenever I write in JTextField
Filter using JComboBox and JTextField
How to add listener so that when a combobox value is changed
Using JTextField in jdbc How can I compare text field and password field to String values?
Display database records in jTextField
how to populate all items in JTable when corresponding JTextfield is empty
Using JTextField in jformattedtextfield Mask Some Char in a JTextField
Why JFormattedTextField does not suppport actionPerformed
JFormattedTextField and BigDecimals
Formatting JTextField to accept three digits at most, but anything up to 1-3 digits can be typed
From JTextField to JFormattedTextField
Adding columns to JTextfield in java swing
Using JTextField in jlabel Handling editing events in a JTextField
Place two JLabels above each other with JTextfields next to them
Showing Sum through JLabel
Putting text from JTextField to JLabel
Sometimes swing text field appears sometimes it doesn't?
JButton, JTextFeild, JLabel set background color not working
Which Swing Component to use?
Editing JLabel from JTextField in another class
Formatting JLabel/JTextField text?
How to disable button when having 'some' text in a text field and re enabled them when that text disappears in the text field
It's possible to add a JTextField to a JLabel?
Java GUI - Display JTextField Value
[Swing]Add same label to different location in a panel, without copying
Using JTextField in jlist How can I pass data from text-fields in 1 JFrame Form to a JList in another JFrame Form?
Defaultlistmodel adds twice an item from jtextfield
get specific value from arraylist element
populate jList and text fields from a .txt file
How do I output the text input and combobox on JList (java)
Using JTextField in joptionpane Multiple JTextFields in a JOptionPane.ShowInputDialog?
How to make JOptionPane displays error if user input is not digit( 0-9 ) or arithmetic operator( + - * /)
Java code to enforce to have number and character in Jtextfield
Converting from String to Int
Adding a JTextField into a JOptionPane: ShowOptionDialog
Using JTextField in jpanel Cant add JTextfield onto JPanel in JTabbedPane
Add JTextField in A new JFrame
How to take Float value from JTextField?
JLabel won't work with ButtonHandler
Java - drawing a sudoku - How to build the code in the right way?
Retrieving text from a JTextField when using a method to add the JTextField
Trying to set border on a JPanel using a child textfield
Swing: JTextField inside JPanel, redraw issue
JFrame not displaying panel content
How to set size and location of JTextField?
Changing JTextFields when not within a certain range & changing JPanel background using text from JTextFields
how can I use JTextField and JLabel together?
Why can't I insert my JTextField inside my JPanel?
How to get TextField value from another class or method
Using JTextField in jpasswordfield Comparing JPasswordfield and JTextField In IF Statement keeps going to else statement
how to remove space between jtextfield, jbutton and raisedbevel border
Why can't a class extending JTextField instantiate a JPasswordField?
a custom JtextField
Empty jtextfield/jpassword delete sound
Using JTextField in jscrollpane How to stop JTextField and JTextLabel from truncating on JPanel
Cannot resize JTextField and JScrollPane in GridBagLayout
Java can't focus on JTextField inside JPanel inside JPanel as viewport in JScrollPane
Using JTextField in jtable SetCaretPosition in JTable
How to validate a jtextfield to accept only pakistan cnic format?
JTable Autosuggest Throwing .IllegalComponentStateException
How to edit a txt file using JTextField with a specific format?
Changing the value of a textfied in JFrame class1, JFrame class2,... by selecting an item from jtable in Jframe class3
how to limit the rows adding in JTable?
Using JTextField in jtextarea How to make my JTextArea or JTextPane automatically create a new line?
JTextArea position, setBounds does not work?
Update a JTextArea dynamically depending on users JTextField values
Remove lines in JTextArea
Only one JTextField will output or show on the frame
JButton that highlights next/previous match in JTextArea JAVA SWING
Display Jlabel based on JtextArea dynamically without button click
Trouble with appending to a JTextArea outside the GUI class
Using JTextField in keyevent How to trigger backspage key event when button click java
Receive KeyEvents when JTextField is focused
JTextField limiting input after period
The method getKeyCode() is undefined for the type KeyEvent
Using JTextField in keylistener KeyListener on jTextField is not working
Java KeyListener Control
Adding JTextField to JMenuBar cancels KeyListener responses!! - How to fix?
Java - JTextField - Call function when user press "space bar"
Two KeyListeners on JTextField
(Java Swing) JTextField updates "too late"
Does JTextField have a getEditor() method?
why am i appending twice in jtextfield?
Using JTextField in layout manager Swing text field visibility issue
JTextField not appearing in grid layout
Can't add a TextField to Interface in Java
GridBagLayout format error. JTextFields in wrong positions
How do I make a JPanel item go under another item in the same BorderLayout?
Setting JLabels in rows and placing the equivalent JTextField right next to it
Using JTextField in look and feel Set inactive background color on JTextField per-component under Windows LAF
Delete inside JTextField does not work with a new BasicLookAndFeel
What does a JTextField look like in various LAF instances?
Using JTextField in methods passing multiple JTextFields to a boolean method
Set JTextField width to match width of JPanel
How to exit a method in ActionListener
Best practise to run methods in Java on a running GUI enviroment
How do you read an integer from JTextField and use it in more methods?
Using JTextField in mouselistener Why is this JTextField not showing the contents?
Get a JTextFeild to go back to a transparent state
Clearing text on mouse click from multiple JTextFields in Java
Textfield Clearing String
Using JTextField in mysql How can one test user input from a JPanel?
Using netbeans automatic generated jtextfield in a jbutton for a mysql search
Calculate column of JTable and display in JTextField
How to add some row's specific info to JTexFields using MySQL
JTextField Limit Character
Using JTextField in netbeans How can i save JTextField components in a .txt file? (Using Netbeans GUI)
Allow a jTextField to be blank?
How to take the value of a JTextField after being modified by the user [java]
Java netbeans - how assign jtextfield value to zero if jtextfield value is empty
how to change Jtextbox values without using Jbutton using netbeans
Java/Netbeans -- Reference a jTextfield dynamically?
select date from jdatechooser and automatically diplay age in a Textfield
Replace 0s of jTextField as I type
How to customize text field on Java (NetBeans)?
display text in jtextfield takes too long
Using JTextField in nullpointerexception button action listener for text field doesnt work
Document listener brings a null pointer exception
`parseInt()` and `parseDouble()` throw `NumberFormatExeption`
How can I create a JTextField array?
Using JTextField in numberformatexception java.lang.NumberFormatException For Input String value is letters
NumberFormatException on parsing JTextField input
NumberFormatException when trying to convert JTextField to Integer
leave a blank jtextfield field in java
How can I parse a value from a JTextField into an Integer and perform some math operations on it?
Using JTextField in numbers JTextField order of numbers left to right
JTextField with regex applied won't accept value until AFTER the Document is applied
Can't Set textfield to Digits & commas/dots only
JTextField accept only numbers and one dot
Why the following regular expression is not allowing numbers?
JTextField - separation of numbers (ArrayList)
Trying to only allow for numbers to be entered into JTextField and non-numbers be set as 0
Can someone help me make a JFormattedTextField that works with my code?
JTextField Display and Actual Text - Persian/Arabic Numbers
Using JTextField in oop calling a method to restart if a condition is met without using a loop
For Each loops to first build and then retrieve JTextField inputs
Creating objects (JTextfields) inside loop with different names
How to get text from JTextField to JLabel that is in another JFrame?
Setting the horizontal alignment of JTextField in a loop
Swing JTextField text changed listener DocumentListener infinity loop
looping jtextfields so it clears if anything but an integer is entered
while loop jtextfield accepts only letters
Why my JTextArea is not displaying properly from the while loop?
How to call the Loop in Jtextfield
How do I pass text input from one JTextField to a variable in another class?
Using JTextField in parsing Parsing JTextfield String into Integer
Parsing CSV file on Java to extract String
How to make JTextField into String/Long?
Using JTextField in random Calculate Dice Roll from Text Field
Make random JTextField Yellow
Make random JTextField Yellow
How would I make my random number appear instantly on my frame?
Using JTextField in regex Some thing is wrong in this regular expression and i cant figure it out
Java REGEX With Document Filter
How in Java I can create a field that can accept only digits and once dot?
Swing JTextField - Max 3 digits before decimal and max 2 digits after decimal
Cannot validate JTextField's value using Regular expression while using Java Swing components
Java WildCard replacement
Using semicolon and comma in JTextField for search
Using JTextField in settext How to call `setText` on multiple JTextfields?
Create Text in JText Field that user can not edit in java
JLabel and JTextField setText is not update
setText(String t) of JTextField cannot change the content of the textfield
JTextField.setText() does not work in method as an array
setText doesn't work properly if the string starts with a negative sign
How to setText to JTextField when clicking outside of it?
Using JTextField in string Swing: the initial String of JTextField is an empty String
How to make sure that JTextField contains only letters?
Java JTextField empty string error
Java - Finding a certain string in JTextArea
Automatically changing the font size in a Swing component as the string length increases
JTextField is updating String data along with junk
final character '\n' at the end of my string has been modified to space character
How to check for empty text field?
add JTextPane string to JComboBox
JTextField string not working
Convert String to Double - JAVA
Java JTextField Converting to upper/lowercase while writing
How to check if there is a space between two characters?
How to retrieve string from JTextField in Java to an Action Listener?
Making JTextField accept mixed String , whet documentFIlter alow only digits
How do I convert a JTextField string to a double?
how do I filter what I entered in the JTextField and display the filtered result?
JTextArea, JTextField, how to replace text from the caret to the left with another string
Using JTextField in tablecelleditor Make JTable cell editor value be selectable, but not editable?
TableCellEditor: clear original text if key is pressed; retain value if no input was givien
Dynamically change JTable cell value at focus lost
JTable editor keep old values
Using JTextField in try catch try/catch block not working in actionlistener
Checking if a user's entry is an integer using try catch statements
Parsing Double/Int from Jtextfield Input
Using JTextField in validation Smarter way to use Java DocumentListener
How to validate a Jtextfield to only allow letters in Java?
How to validate a jtextfield to specific format?
how to make jtextfield only accept characters in netbeans
Validation of a text field in Java