public final void setWindowStateWasMaximized(final boolean windowStateWasMaximized) {
    Config.getInstance()
        .getPreferencesBuilder()
        .getLayoutBuilder()
        .setMaximized(windowStateWasMaximized);
  }
Sets and gets the main settings via java
java/ui/src/main/java/com/google/security/zynamics/bindiff/config/GeneralSettingsConfigItem.java