private void reloadImageData() {
		if (fileNameLabel != null) {
			if (selectedFile == null) {
				fileNameLabel.setToolTipText(" < none > ");
				fileNameLabel.setText("??");
			} else {
				fileNameLabel.setToolTipText(selectedFile.getAbsolutePath());
				fileNameLabel.setText(selectedFile.getName());
			}
		}

		if (selectedFile == null) {
			return;
		}
		origImgPanel.reload(imgWid, imgHgt, sourcePosX, sourcePosY, selectedFile);
		origImgPanel.setScale(sourceScaleX, sourceScaleY);
		
		int totalSize = imgWid * imgHgt;
		if (totalSize != nesPix.length) {
			nesPix = new int[totalSize]; // automatically zeroed
		} else {
			for (int i = 0; i < totalSize; i++) {			
				nesPix[i] = 0;
			}
		}

		try {
			doPixelProcessing();

		} catch (Exception e) {
			e.printStackTrace();
		}

	}