return new TitlePaneLayout() { public Dimension preferredLayoutSize(Container c) { return new Dimension(24, 24); } };
return new MetalTitlePaneLayout();
  protected LayoutManager createLayout()  {    return new TitlePaneLayout()    {      public Dimension preferredLayoutSize(Container c)      {        return new Dimension(24, 24);      }    };  }