< prev index next >
src/java.desktop/windows/classes/sun/awt/Win32GraphicsDevice.java
Print this page
*** 521,533 ****
*/
public void displayChanged() {
dynamicColorModel = null;
defaultConfig = null;
configs = null;
// pass on to all top-level windows on this display
topLevels.notifyListeners();
- initScaleFactors();
}
/**
* Part of the DisplayChangedListener interface: devices
* do not need to react to this event
--- 521,533 ----
*/
public void displayChanged() {
dynamicColorModel = null;
defaultConfig = null;
configs = null;
+ initScaleFactors();
// pass on to all top-level windows on this display
topLevels.notifyListeners();
}
/**
* Part of the DisplayChangedListener interface: devices
* do not need to react to this event
< prev index next >