public final int getScreenWidth() {
    return Config.getInstance().getPreferences().getLayout().getScreenWidth();
  }
Sets and gets the main settings via java
java/ui/src/main/java/com/google/security/zynamics/bindiff/config/GeneralSettingsConfigItem.java