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!

JTextArea font won't change

843804Aug 2 2005 — edited Aug 2 2005
I know this problem has been answered in similar form previously., but my version is a little different. I have a JList of fonts. When a font is selected on the list, changes should be applied to a JTextArea. I have my <JTextArea>.setFont(Font f) command in the valueChanged method of my class. However, the font does not change, neither visually nor internally. What's the problem? Thanks in advance for all help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 30 2005
Added on Aug 2 2005
6 comments
185 views