-
Bug
-
Resolution: Incomplete
-
P4
-
None
-
12
-
x86_64
-
windows_10
ADDITIONAL SYSTEM INFORMATION :
Issue appears to affect Windows 10 only and is reproducible in both JDK 11 and JDK 12.
A DESCRIPTION OF THE PROBLEM :
When setting the bounds of a JDialog component under Windows 10, the window is ~8 pixels too small on left, right and bottom extremities. It appears as if Java is allocating space for Windows 7 decorations which aren't present on Window 10 machines.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create JDialog and set full-screen bounds explicitly.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
JDialog occupies all available screen space.
ACTUAL -
JDialog occupies the majority of screen space with an ~8 pixel empty border located at left, right and bottom window extremities.
CUSTOMER SUBMITTED WORKAROUND :
None required, as all metrics appear to operate as expected, albeit with an unwanted ~8 pixel border on Window 10.
FREQUENCY : always
Issue appears to affect Windows 10 only and is reproducible in both JDK 11 and JDK 12.
A DESCRIPTION OF THE PROBLEM :
When setting the bounds of a JDialog component under Windows 10, the window is ~8 pixels too small on left, right and bottom extremities. It appears as if Java is allocating space for Windows 7 decorations which aren't present on Window 10 machines.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create JDialog and set full-screen bounds explicitly.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
JDialog occupies all available screen space.
ACTUAL -
JDialog occupies the majority of screen space with an ~8 pixel empty border located at left, right and bottom window extremities.
CUSTOMER SUBMITTED WORKAROUND :
None required, as all metrics appear to operate as expected, albeit with an unwanted ~8 pixel border on Window 10.
FREQUENCY : always