Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java font bold italic

Font plainFont = new Font("Arial", 0, 10); // PLAIN
Font boldFont = new Font("Arial", Font.Bold, 10); // BOLD
Font italicFont = new Font("Arial", Font.Italic, 10); // ITALIC
Font boldItalicFont = new Font("Arial", Font.Bold + Font.Italic, 10); // BOLD and ITALIC
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #font #bold #italic
ADD COMMENT
Topic
Name
7+6 =