OptPane (@NotNull OptRegularComponent @NotNull ... components) { var newComponents = new ArrayList<>(components()); ContainerUtil.addAll(newComponents, components); return new OptPane(newComponents); }