A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Setting label font and text color
Joined: Aug 24, 2003
Sep 16, 2003 08:31:00
I am writing an
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?
Joined: Aug 04, 2003
Oct 07, 2003 06:41:00
It's a funny error, please post your code.
I agree. Here's the link:
subject: Setting label font and text color
Hurray At Last SCJP got 76%.........................
How to highlight a hyperlink?(Urgent)
Wow 98% : I made it with your wishes!!!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013