So I am creating a program that changes the JTextField depending on what the user Chooses. So its pretty much like a Word Document with fonts(from a JComboBox), sizes, and attributes(Bold...etc). Obvi
I\'ve got one class that has two text fields in it: \"name\" and \"surname\". I need the information that someone typed in there for a text area in another class. So far I managed to write (Person cla
I need a JTextField limiting to 3 decimal places. After a search, i discovered JFormattedTextField, which looks gr开发者_StackOverfloweat. The code right now is:
I\'ve made a GUI with JFrame which includes a JComboBox with several JTextFields. When I choose an item in the JComboBox the text fields changes their values and I am suppose to be able to change them
Hi in my Java swing application I need to show all possible existing entries with same initial开发者_如何学Go
How can i change the text of a jTextField from other class Suppose i have Class A in which if i select an item and click create account. I added a tab with same name to my jTabbedPane. This tab is cl
I making a JCurrencyField to use it in my program, I almost finished creating it but I\'ve faced an issue.
Can someone please help me because I have to get this project in by the end of tomorrow? Every time I try and set the text of a text field my program crashes and gives a null pointer exception. How c
I want to make a window application for PC using java swing. I would like to make a text field there. While typing to that text field I need it to show tips under that text field. And user can select
I am trying to type Arabic numbers in a JTextField and I used DocumentListener as follows: txtName.getDocument().addDocumentListener(this);