public static FontMetrics getMonospacedFontMetrics() {
    return instance.monospacedFontMetrics;
  }
Centers the child component relative to its parent component.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/GuiHelper.java