jtextfield
JTextfield Fonts and Attributes problem
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[详细]
2023-03-25 19:44 分类:问答Getting information from a text field to use it in a text area in other Class
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[详细]
2023-03-23 16:52 分类:问答JFormattedTextField accepting different number of digits
I need a JTextField limiting to 3 decimal places. After a search, i discovered JFormattedTextField, which looks gr开发者_StackOverfloweat. The code right now is:[详细]
2023-03-21 08:15 分类:问答JComboBox gets stuck after changing a JTextField
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[详细]
2023-03-20 12:47 分类:问答How to list suggestions to when typing inside the text field
Hi in my Java swing application I need to show all possible existing entries with same initial开发者_如何学Go[详细]
2023-03-19 17:00 分类:问答Change text of JTextField from different Class
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[详细]
2023-03-19 07:34 分类:问答make custom JTextField (JCurrencyField)
I making a JCurrencyField to use it in my program, I almost finished creating it but I\'ve faced an issue.[详细]
2023-03-17 03:58 分类:问答NullPointerException when setting text of text field
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[详细]
2023-03-16 17:53 分类:问答How to make a text field for searching(with tips like a google search)
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[详细]
2023-03-15 14:51 分类:问答Typing Arabic numbers in JTextField
I am trying to type Arabic numbers in a JTextField and I used DocumentListener as follows: txtName.getDocument().addDocumentListener(this);[详细]
2023-03-15 10:04 分类:问答