Saturday, 28 September 2013

Why can't I use required font in JComboBox

Why can't I use required font in JComboBox

I am unable to change the font in JComboBox despite the fact that font is
ttf and properly installed. My OS is WinXP sp2 with Java 1.7.0 installed.
The same problem arises when using that font in drawString method while
painting with the required font. I can change font to Times New Roman,
Arial etc. My intention is to use Urdu text i.e. Unicode strings in Swing.
Thanks.
Amer Rehman

No comments:

Post a Comment