wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Setting label font and text color Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Setting label font and text color" Watch "Setting label font and text color" New topic
Author

Setting label font and text color

Anthony Yip
Ranch Hand

Joined: Aug 24, 2003
Posts: 30
Dear all,
I am writing an Applet with the old AWT components. I have tried to use Label.setFont() and Label.setForeground() to change its font and text color. But it just ignore them. How can I do that?
Regards
Anthony Yip
VIJAY Yadlapati
Ranch Hand

Joined: Aug 04, 2003
Posts: 175
It's a funny error, please post your code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting label font and text color
 
Similar Threads
Logging Tab
Wow 98% : I made it with your wishes!!!
How to highlight a hyperlink?(Urgent)
Hurray At Last SCJP got 76%.........................
Exception