titlePane.setOpaque(true);
  public void installUI(JComponent c)  {    if (c instanceof JInternalFrame)      {	frame = (JInternalFrame) c;	internalFrameLayout = createLayoutManager();	frame.setLayout(internalFrameLayout);	((JComponent) frame.getRootPane().getGlassPane()).setOpaque(false);	frame.getRootPane().getGlassPane().setVisible(true);	installDefaults();	installListeners();	installComponents();		installKeyboardActions();	frame.setOpaque(true);	titlePane.setOpaque(true);	frame.invalidate();      }  }