JDK-8163175 : PlainView.modelToView() method should return Rectangle2D
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-08-04
  • Updated: 2016-11-03
  • Resolved: 2016-11-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Description
The text position can have floating point value on HiDPI display.

The PlainView.modelToView() uses Utilities.getTabbedTextWidth(s, metrics, tabBase, this,p0) method to calculate the text width.

It should be changed to the same method with floating point arguments introduced by the fix JDK-8156217 Selected text is shifted on HiDPI display and return Rectangle2D.
Comments
Fixed as part of the issue JDK-8156217 Selected text is shifted on HiDPI display See http://hg.openjdk.java.net/jdk9/client/jdk/rev/64781a24c0f4
03-11-2016