FontMetrics fm = getFontMetrics();
	public Dimension getPreferredSize()	{		Dimension dim = new Dimension();		FontMetrics fm = getFontMetrics();		dim.width = fm.charWidth('w') * cols;		dim.height = fm.getHeight() * rows;		return dim;	}