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!

How to set the margin of text in JTextField

843804May 30 2005 — edited May 30 2005
Hi all,

I have a problem about the text margin of JTextField in different look and feels.

I can show all the text in JTextField when I use metal and window classic look and feels. But when I set the look and feels to windows xp style. I can not show all the text in the JTextField because of the margin is much bigger.

How can I set the JTextField margin to fix this problem?

Please help. Many thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 27 2005
Added on May 30 2005
1 comment
387 views