public void setFont(Font f) Sets the current font. This removes cached row height and column width so the new font will be reflected. revalidate() is called after setting the font.
Component has the color setting stuff
public void setForeground(Color fg) Sets the foreground color of this component
"JavaRanch, where the deer and the Certified play" - David O'Meara
Sasparilla and fresh horses for all my men! You will see to it, won't you tiny ad?
a bit of art, as a gift, the permaculture playing cards