public int getScreenNumber() {
return screenNumber;
}
public void setScreenNumber(int screenNumber) {
DisplayMode d = CanvasFrame.getDisplayMode(screenNumber);
String oldDescription = getDescription();
firePropertyChange("screenNumber", this.screenNumber, this.screenNumber = screenNumber);
firePropertyChange("description", oldDescription, getDescription());
firePropertyChange("imageWidth", this.imageWidth, this.imageWidth = d == null ? 0 : d.getWidth());
firePropertyChange("imageHeight", this.imageHeight, this.imageHeight = d == null ? 0 : d.getHeight());
firePropertyChange("bitDepth", this.bitDepth, this.bitDepth = d == null ? 0 : d.getBitDepth());
firePropertyChange("refreshRate", this.refreshRate, this.refreshRate = d == null ? 0 : d.getRefreshRate());
firePropertyChange("responseGamma", this.responseGamma, this.responseGamma = CanvasFrame.getGamma(screenNumber));
}