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

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psadhukhan Prasanta Sadhukhan
                Reporter:
                alexsch Alexander Scherbatiy (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: