Relates :
|
|
Relates :
|
The following methods in javax.swing.text.Caret interface use integer coordinates: void setMagicCaretPosition(Point p) Point getMagicCaretPosition() On HiDPI display text width can have floating point value so there should be a way to set the caret to floating point position.
|