-
Enhancement
-
Resolution: Not an Issue
-
P3
-
None
-
generic
-
generic
Swing applications need to look good on hi-dpi displays. This RFE covers the
initial steps needed to get rudimentary support for Swing in a hi-dpi environment,
for example:
- a debug mechanism for trying an application at various scale factors (this is
independent of any similar facilities provided by the OS; could be as simple as
a system property like this -Dswing.debugScaleFactor=2.0)
- initial support for a scaling mode where the Graphics context used by Swing
components is scaled to the user setting (this could be "view-only" for now;
more extensive work needs to be done on the AWT side for transforming things
like input events to the appropriate coordinate system)
Ideally this initial work would be completed without any API changes (implemenation
updates only).
initial steps needed to get rudimentary support for Swing in a hi-dpi environment,
for example:
- a debug mechanism for trying an application at various scale factors (this is
independent of any similar facilities provided by the OS; could be as simple as
a system property like this -Dswing.debugScaleFactor=2.0)
- initial support for a scaling mode where the Graphics context used by Swing
components is scaled to the user setting (this could be "view-only" for now;
more extensive work needs to be done on the AWT side for transforming things
like input events to the appropriate coordinate system)
Ideally this initial work would be completed without any API changes (implemenation
updates only).
- relates to
-
JDK-6486819 Returned FontMetrics are incorrect in a scaled context
- Open