Hi,
I had the same requirement and Javaranch.com once again helped me, so let me pass the knowledge which I have to you. This link will help.
Java Almanac What you have to do is that to put this coding which is given in this page and call that method with different parameters when you want to change the font type, size, color etc.
Hope I gave the solution for your problem.
CHEERS