-
Bug
-
Resolution: Duplicate
-
P3
-
9
-
Ubuntu 16.04 Unity
-
linux_ubuntu
It seems that Window.setLocationRelativeTo(null) doesn't use GraphicsEnvironment.getLocalGraphicsEnvironment().getCenterPoint(). The actual coordinates of a Frame appears to be adjusted by a toolbar height, comparing to that center point.
Try the attached small example.
Try the attached small example.
- duplicates
-
JDK-8036915 setLocationRelativeTo stopped working in Ubuntu 13.10 (Unity)
-
- Resolved
-