I wrote the code below: public class Information extends JFrame{ private JComboBox comboBox1; private JComboBox comboBox2;
I\'m trying to simulate in java swing the same search results preview on facebook, but in java I suppose it\'ll gonna be :
I have the following line of code that consists of a text box: NameTextCustomers = new JTextField(); NameTextCustomers.setBounds(10, 10, 350, 150);
This question already has answers here: Closed 10 years ago.开发者_如何学编程 Possible Duplicate:
I have a开发者_如何学Python JTextField. That takes in strings. For one JTextField, I want to limit to only two strings. For example \'fa\' or \'56\' or \'..\'Not more than two.
I have a group of JTextField and JLabel. I开发者_C百科 want them to initially not be visible so I thought to initialize my applet with a method which calls setVisible(false) for each of the components
I am working with JTextFields, JComboBox, and buttons. When I select some information from JComboBox, I press the button. That creates a JTextField. and sets the text of the JTextField by using the ge
How do i convert a string da开发者_开发百科ta type to JTextField type. I have set of text boxes in a window and i want to fill it from database using a loop. I am constructing a string with the conten
I have the following code that displays a JDialog, it shows a text field, I assume it\'s a 开发者_StackOverflow中文版JTextField.
I am looking for a way to put example text into a swing JTextField and have it grayed out. The example text should then disappear as soon as any thing is entered into that text field. Some what simila