if (album == null) { return; }
	public void textUpdate(DocumentEvent e) {		Document doc = e.getDocument();		if (doc == jResizeToWidth.getDocument()) {			try {				Dimension d = album.getOverrideResizeDimension();				if (d == null) {					d = new Dimension();				}				String text = jResizeToWidth.getText();				if (text.length() > 0) {					d.width = Integer.parseInt(text);					album.setOverrideResizeDimension(d);				}			} catch (NumberFormatException ee) {				Log.logException(Log.LEVEL_ERROR, MODULE, ee);			}		} else if (doc == jResizeToHeight.getDocument()) {			try {				Dimension d = album.getOverrideResizeDimension();				if (d == null) {					d = new Dimension();				}				String text = jResizeToHeight.getText();				if (text.length() > 0) {					d.height = Integer.parseInt(jResizeToHeight.getText());					album.setOverrideResizeDimension(d);				}			} catch (NumberFormatException ee) {				Log.logException(Log.LEVEL_ERROR, MODULE, ee);			}		}	}