Thursday, 5 September 2013

How to get Caret position in pixels in JTextField?

How to get Caret position in pixels in JTextField?

How to get Caret position in pixels in JTextField? There is a method
getCaret().getDot(), but it returns symbol count, not pixels. Is there
some method besides FontMetrics?

No comments:

Post a Comment