setMapXY(Integer.parseInt(xField.getText()), Integer.parseInt(yField.getText()));
this.x = Integer.parseInt(xField.getText()) / getModeProps()[12]; this.y = Integer.parseInt(yField.getText()) / getModeProps()[12]; if ((getModeProps()[7] & 1) == 1) setPreviewBoxXY(x, y); updateScrollBars(); updateSectorComponents(); reloadMap();
		public void changedUpdate(DocumentEvent e) {			if (!(xField == null)					&& !(yField == null)					&& (e.getDocument().equals(xField.getDocument()) || e							.getDocument().equals(yField.getDocument()))					&& (yField.getText().length() > 0)					&& (xField.getText().length() > 0)) {				try {					setMapXY(Integer.parseInt(xField.getText()), Integer.parseInt(yField.getText()));				} catch (NumberFormatException nfe) {					// Do nothing				}				updateScrollBars();				reloadMap();				repaint();			}		}