This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
Wow 98% : I made it with your wishes!!!
Logging Tab
How to highlight a hyperlink?(Urgent)
Exception
Hurray At Last SCJP got 76%.........................