public void setPreferredSize(Dimension preferredSize) {   pref = preferredSize;   }
public void setPreferredSize(Dimension pref) { preferredSize = pref; }
	public void setPreferredSize(Dimension preferredSize)	{   pref = preferredSize;   }