private static @Nullable Font parseFontSize(Font font, String value) {
        try {
          int newSize = Integer.parseInt(value);
          return (newSize > 0) ? font.deriveFont((float)newSize) : null;
        }
        catch (NumberFormatException nex) {
          return null;
        }
      }
private static @Nullable Font parseFontSize(Font font, String value)