Java Swing/AWT Rendering Fails on Secondary Monitors with Non-Xinerama Configuration
(Doc ID 2358447.1)
Last updated on FEBRUARY 18, 2018
Applies to:Java SE JDK and JRE - Version 8 and later
Information in this document applies to any platform.
In multi-monitor environments where each monitor is assigned to an independent X screen (non-Xinerama), the following two issues can be seen with Java Swing and/or AWT components:
- text is not rendered in any GUI component on secondary monitors
- some GUI elements are not drawn or rendered on secondary monitors
The problem is seen on Solaris and Linux operating systems, using Java SE 8 or higher versions, with specific desktop environment configurations:
- Solaris 11.3 x86 with NVIDIA GF119 [NVS 315] and NVIDIA driver for this card, or with Quadro FX 1800 video card and NVIDIA 340.104 proprietary driver for that card
- openSUSE Linux 42.3 with Xfce desktop environment
The issue cannot be reproduced with Java SE 7 or older Java versions, regardless of OS/hardware configuration.
The issue also cannot be reproduced with Ubuntu Linux 16.04 with either Unity Desktop Environment nor Gnome Desktop Environment, with any Java version.
Upgrade from Java SE 7 or older Java version to Java SE 8 or higher Java version.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!