Constructor JTextArea(String text)
Member of:
javax.swing.JTextArea
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
this (new JTextArea (text));
2
JTextArea area = new JTextArea(text);
3
new JTextArea("Background should be\nthe same as below.");
4
JTextArea jta = new JTextArea("Lost Connection to Server");
5
consoleText = new JTextArea("OpenJNLP v" + OpenJNLP.getVersion() + "\n");
6
JTextArea jta = new JTextArea("Lost Connection to Server");
7
JTextArea textArea = new JTextArea(getDefinition(val));
8
JTextArea jta = new JTextArea("");
9
editorComponent = new JTextArea(s);
10
getContentPane().add("Center", new JScrollPane(new JTextArea(text)));
11
JTextArea helpText = new JTextArea(JMeterUtils.getResString("user_param_mod_help_note"));
12
JTextArea textArea=new JTextArea(text);
13
JTextArea area = new JTextArea ((String)newMessage);
14
JTextArea textArea = new JTextArea(
15
JTextArea text = new JTextArea("Positioned with respect to titled border panel (alignright/left)");
16
JTextArea descriptionContent = new JTextArea(handler.getDescription());
17
ar=new JTextArea(text.toString());
18
JTextArea noDbxLabel = new JTextArea("Select a dbxref from the list "+
19
comments = new JTextArea("");
20
= new JTextArea(Resources.getString(LABEL_CONTRIBUTORS)){
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.