return new Dimension(500, 500);
return new Dimension(width, height);
    public Dimension preferredLayoutSize(Container target)    {      if (target instanceof JSplitPane)        {	  JSplitPane split = (JSplitPane) target;	  Insets insets = target.getInsets();	  int height = 0;	  int width = 0;	  for (int i = 0; i < components.length; i++)	    {	      if (components[i] == null)		continue;	      Dimension dims = components[i].getPreferredSize();	      if (dims != null)	        {		  width += dims.width;		  if (! (components[i] instanceof BasicSplitPaneDivider))		    height = Math.max(height, dims.height);	        }	    }	  return new Dimension(500, 500); //width, height);	        }      return null;    }