Reputation: 10068
What's the relation between JTextArea
row/column and the character that it could contains? For example,
JTextArea text = new JTextArea(1,1);
how many character could this contain?
Upvotes: 1
Views: 1465
Reputation: 285403
what's the relation between JTextArea row/columd and character that it could contains? for example,
JTextArea text = new JTextArea(1,1);
how many character could contains?
The row and column fields have no bearing on how many characters the JTextArea can hold, just in how they may be displayed. It will mainly effect the preferredSize of the text component.
Upvotes: 2