Ever tried setting the visibility of a rootpane on your JWindow or JFrame without loosing visibility of the components on that JWindow or JFrame???
Here is a little snippet of code to keep close by as it might come in handy
Class<?> awtUtilitiesClass = Class.forName("com.sun.awt.AWTUtilities");
Method method = awtUtilitiesClass.getMethod("setWindowOpaque", Window.class, boolean.class);