Hi Guys !! Can anyone of u pls let me know how can i change color of font in AWT. Looking for an urgent reply !! Thanx in advance !! Anukampa
posted 16 years ago
I understand that you want to have a text with a certain kind of font. The most important is where do you want to use this text; If , for example you want a label, with font and color, you should set the font and the color for the label, not for the text af the label; I guess that all the components which can contain text, have available a method for seting the font, the color of the font (foreground) and the background ... Ok?