revalidate(); repaint();
  public void setMaximumSize(Dimension max)	{    Dimension oldMaximumSize = maximumSize;    maximumSize = max;    firePropertyChange("maximumSize", oldMaximumSize, maximumSize);    revalidate();    repaint();	}