Constructor JTextArea(int rows, int columns)
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 (rows, columns));
2
area = new JTextArea(10,40);
3
components.add(new JScrollPane(new JTextArea(2, 5)));
4
consoleTA = new JTextArea(10, 80);
5
JTextArea t = new JTextArea(3,20);
6
JTextArea errorText = new JTextArea(24, 80);
7
_console = new JTextArea( 8, 60 );
8
JTextArea instructions = new JTextArea(4, 40);
9
JTextArea descTextArea = new JTextArea(5, 30);
10
txtCommand = new JTextArea(5, 40);
11
JTextArea jta = new JTextArea(6, 27); // 27 chars wide seems to be good width
12
final javax.swing.JTextArea area = new javax.swing.JTextArea(dimension.width, dimension.height);
13
messageText = new JTextArea(3,40);
14
args = new JTextArea(10, 40);
15
mTextArea = new JTextArea(20, 40);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.