g.dispose();
return 20 + maxWidth;
		public void updateSize() {			setFont(new Font("monospaced", Font.PLAIN, Math.abs(getYPixPerUnitAsInt())));			maxWidth = 0;			Graphics g = getGraphics();			if(g == null) {				return;			}			FontMetrics fm = g.getFontMetrics();			for(int i = 0; i < ny; i++) {				String s = matrix.getRowName(i);				int w = fm.stringWidth(s);				maxWidth = Math.max(maxWidth, w);			}			setFont(new Font("monospaced", Font.PLAIN, Math.abs(getYPixPerUnitAsInt())));			setPreferredSize(new Dimension(20 + maxWidth, getHeight()));			setSize(new Dimension(20 + maxWidth, getHeight()));			setMinimumSize(new Dimension(20 + maxWidth, getHeight()));			setMaximumSize(new Dimension(20 + maxWidth, getHeight()));			g.dispose();		}