My Oracle Support Banner

Java Swing/AWT Rendering Fails on Secondary Monitors with Non-Xinerama Configuration (Doc ID 2358447.1)

Last updated on JUNE 27, 2021

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:

The problem is seen on Solaris and Linux operating systems, using Java SE 8 or higher versions, with specific desktop environment configurations:

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!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.