preview.remoteRepaint();
preview.repaint();
				public void changedUpdate(DocumentEvent e)				{					if ((centerX.getText().length() > 0)							&& (centerY.getText().length() > 0))					{						preview.setXY(								Integer.parseInt(centerX.getText()),								Integer.parseInt(centerY.getText()));						preview.remoteRepaint();					}				}