private static @Nullable Dimension parseDimension(String value) {
        String[] parts = value.split(",");
        if (parts.length != 2) {
          return null;
        }

        try {
          List<Integer> v = ContainerUtil.map(parts, p -> Integer.parseInt(p));
          return JBUI.size(v.get(0), v.get(1));
        }
        catch (NumberFormatException nex) {
          return null;
        }
      }
private static @Nullable Dimension parseDimension(String value)