FULL PRODUCT VERSION :
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
EXTRA RELEVANT SYSTEM CONFIGURATION :
gnome3 with gnome-shell as desktop environment
A DESCRIPTION OF THE PROBLEM :
The X-Window properties _NET_WM_PID and WM_CLIENT_MACHINE and WM_CLASS of X11 are not set when opening windows (e.g. JFrame) on jre 1.7.0 or jdk 1.7.0 .
This leads especially to strange behaviour with gnome-shell application switcher, the windows of one java application are not grouped together, and for TrayIcon, which will is not displayed depend on this properties correctly set.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Starting java applications with multiple windows in one application (like netbeans) in gnome3/gnome-shell as desktop environment.
EXPECTED VERSUS ACTUAL BEHAVIOR :
The application switcher of gnome-shell (ALT-TAB) shows just one entry for all windows of the same application.
The application switcher of gnome-shell (ALT-TAB) shows multiple entries in the gnome application-switcher (ALT-TAB).
A Tray Icon won't show up in the system tray at the bottom.
This bug can be reproduced always.