This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
One of the DialogDescriptor's constructors allows to specify a set of custom options (Object[]) and also an initial value. According to the constructor's documentation, the initial value must be one of the specified custom options. I would like the constructor to accept some special value (such as <null>) which would mean "no initial value". When a dialog would be created from the DialogDescriptor instance, it would have no default button.
See also bug #37083 - "DialogDisplayer ignores DialogDescriptor's initial value".
null value is already accepted in DialogDescriptor's c'tor