java - Create conveniently Bold version of Font -


does know whether there convenient way, method perhaps take font instance , return bold version?

thank help.

use font.derivefont()

font original = getoriginalfont(); font bold = original.derivefont(font.bold); 

Comments

Popular posts from this blog

forms - Secure PHP File Upload Script -

silverlight - SL4 - TextTrimming in DataGridRowGroupHeader -

java - How do I override the spring framework version in Spring Batch? -