powered by Jive Software

How to set font of spark?


when translate other language,text of spark display is not well and how to set font of spark?

I see the code:

UIManager.put(“Label.font”, new Font(“Dialog”, Font.PLAIN, 11));

it’‘s look like can’'t modify font.


You can do this by modifying whichever of java’‘s LookAndFeel’‘s you’'re using, without any support from the application. Looking at the javadocs for DefaultMetalTheme may be helpful.