Apache NetBeans
Apache NetBeans
Latest release

Apache NetBeans 24

Download

How do I add a new panel to a Project Properties dialog?

Create and register the panel (here for Java SE projects):

@ProjectCustomizer.CompositeCategoryProvider.Registration(
    projectType="org-netbeans-modules-java-j2seproject")
public class BlaPanelProvider implements ProjectCustomizer.CompositeCategoryProvider {
    public @Override Category createCategory(Lookup context) {
        return ProjectCustomizer.Category.create(
                "Bla",
                "Bla",
                null,
                null);
    }
    public @Override JComponent createComponent(Category category, Lookup context) {
        return new BlaPanel();
    }
}