Constructor JTextField(String text, int columns)
Member of: javax.swing.JTextField
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 _tableEntry = new JTextField("0", 3);
2 fileNameField = new JTextField("users.xml", 15);
3 portField = new JTextField("8080", 8);
4 xField = new JTextField("0", 4);
5 editor = new JTextField("", UIManager.getInt("ComboBox.editorColumns"));
6 editor = new JTextField("", UIManager.getInt("ComboBox.editorColumns"));
7 _value = new JTextField("0",3);
8 fileName=new JTextField(init,cols);
9 port = new JTextField(config.getPort(), 4);
10 textField = new JTextField(lastSavedName, 20);
11 JTextField tf = new JTextField("localhost:" + port, 20);
12 final JTextField newNameField = new JTextField("", 20);
13 proxyTextField = new JTextField(proxyUrl.toString(), 20);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.