1

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?

4

1 に答える 1

2

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.

于 2013-07-20T19:26:45.713 に答える