Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8163124

On HiDPI display text width can have floating point value so there should be a way to set the caret to floating point position: add floating point API support to javax.swing.text.Caret

XMLWordPrintable

      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.

            psadhukhan Prasanta Sadhukhan
            alexsch Alexandr Scherbatiy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: