private static boolean screenResolutionChanged() {
    final GeneralSettingsConfigItem settings = BinDiffConfig.getInstance().getMainSettings();
    final Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
    settings.setScreenWidth(screen.width);
    settings.setScreenHeight(screen.height);
    return settings.getScreenWidth() != screen.width || settings.getScreenHeight() != screen.height;
  }
This class represents the BinDiff main window.
java/ui/src/main/java/com/google/security/zynamics/bindiff/gui/window/MainWindow.java