setOpaque(true);
  public BasicInternalFrameTitlePane(JInternalFrame f)  {    frame = f;    setLayout(createLayout());    title = new JLabel();    title.setHorizontalAlignment(SwingConstants.LEFT);    title.setHorizontalTextPosition(SwingConstants.LEFT);    title.setOpaque(false);    setOpaque(true);    setBackground(Color.LIGHT_GRAY);    installTitlePane();  }