Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

TextField too big

843805Feb 21 2007 — edited Feb 23 2007
I have a JTextField that I have set the number of columns to 13. However, when it is displayed, it is bigger that the space needed to display "1234567890123". Why is this? What can I do about it?

There is nothing in the container layout that is causing it to be stretched.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 23 2007
Added on Feb 21 2007
11 comments
501 views