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
Win a copy of
Java Interview Guide
this week in the
Joined: Jan 12, 2002
Jan 29, 2002 12:18:00
how do I set the font color of text instead of using
is there anyway of including it in the following line
static final Font XsmallFont = new Font("Helvetica", Font.PLAIN, 10);
Roy Ben Ami
Joined: Jan 13, 2002
Jan 29, 2002 12:59:00
i dont think u can, because the idea is that every component controls its own foreground and background color.
(but then again i may be wrong!)
I agree. Here's the link:
subject: Font color
Have the power to become invisible, to mind-read, or to fly?
about instanceof .
Diff. between null & ""
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015