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 font in class JTextArea

843807Nov 28 2002 — edited Nov 29 2002
There is a function setFont() in class JTextArea, but it seems only can set "bold","Italic" and "font size", but i want to set something like "Times new roman" and "Courier New"

who knows how to set?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2002
Added on Nov 28 2002
1 comment
86 views