src/share/classes/sun/font/Decoration.java
Print this page
*** 155,166 ****
boolean swapColors,
boolean strikethrough,
Underline stdUnderline,
Underline imUnderline) {
! fgPaint = (Paint) foreground;
! bgPaint = (Paint) background;
this.swapColors = swapColors;
this.strikethrough = strikethrough;
this.stdUnderline = stdUnderline;
--- 155,166 ----
boolean swapColors,
boolean strikethrough,
Underline stdUnderline,
Underline imUnderline) {
! fgPaint = foreground;
! bgPaint = background;
this.swapColors = swapColors;
this.strikethrough = strikethrough;
this.stdUnderline = stdUnderline;