Relates :
|
|
Relates :
|
Fix JDK-8132119 added new static methods to the BasicGraphicsUtils class: drawString(JComponent c, Graphics2D g, String string, float x, float y) drawStringUnderlineCharAt(JComponent c, Graphics2D g, String string, int underlinedIndex, float x, float y) getClippedString(JComponent c, FontMetrics fm, String string, int availTextWidth) getStringWidth(JComponent c, FontMetrics fm, String string) They should be implemented using floating point API.