public final int getPrefColumnCount ()

taken from field

The preferred number of text columns. This is used for calculating the TextArea's preferred width.