-
Bug
-
Resolution: Duplicate
-
P1
-
None
-
1.2.0
-
sparc
-
solaris_2.5.1
I'd like to add style attributes to a Font. Say for instance when I construct this font (new Font("Times-Roman", Font.BOLD, 24)) - I'd like it to become Times-Roman-Bold. I have attached source code. Snippet :
ss = new StyledString("ITALIC", new Font("Times-Roman", Font.ITALIC, 24));
g2.drawString(ss, getSize().width/2, getSize().height/2);
ss = new StyledString("ITALIC", new Font("Times-Roman", Font.ITALIC, 24));
g2.drawString(ss, getSize().width/2, getSize().height/2);
- duplicates
-
JDK-4091323 BoldAction and ItalicAction don't work properly on JDK1.2
-
- Closed
-