Constructor JTextField(String text)
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 host = new JTextField(hostName);
2 this.msg=new JTextField(message);
3 components.add(new JTextField("textfield"));
4 propertyName = new JTextField(property.getName());
5 numericalNameField = new JTextField (type.getName());
6 numberField = new JTextField(startingValue);
7 add(tf_remoteName = new JTextField(DEFAULT_REMOTE), "3,0,2"); // the order important
8 JTextField textField = new JTextField("textfield");
9 userNameField = new JTextField("");
10 uriTf=new JTextField(Editor.BASE_URI);
11 count = new JTextField("1");
12 new JTextField(ClientServletUtil.makeURL("localhost", agentPort));
13 JTextField textField = new JTextField("hello world");
14 tf = new JTextField(lastArgumentsMap.get(key).toString());
15 idField = new JTextField("no term loaded");
16 case(AtrisXMLEditorToolbar.TOOLBAR_TEXTFIELD) :addObject("TextField",lOverComponent,new JTextField("TextField"),lpointActual.x,lpointActual.y,75,19);break;
17 dir=new JTextField(prefs.get("dir","/cdrom"));
18 mDriver = new JTextField(connTypes[0][1]);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.