File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Setting label font and text color
Hurray At Last SCJP got 76%.........................
Wow 98% : I made it with your wishes!!!
How to highlight a hyperlink?(Urgent)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014