To fix issue #216141, I need to be able to remove the default "All Files" filter but this is currently not possible via the FileChooserBuilder class. This is also the reason why I am filing it a defect and not as an enhancement.
I know that I could simply createFileChooser() and then remove the filter but if one looks at the showOpenDialog() method, it is clear that this method should be called (to correctly open the native file chooser etc.). Moreover, this API change is very small.
Thanks, I will attach a patch.
Created attachment 126175 [details]
Please review. Jardo, feel free to assign to me if you think that the patch is OK.
Adding Jarda Tulach to CC since the change is in fact in the FS module.
Also assigning to myself.
I think that the patch is OK.
Thank you, Tomas.
Seems OK to me.
Fixed. Thanks for the review.
Integrated into 'main-golden', will be available in build *201210310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Tomas Mysik <email@example.com>
Log: #220401 - No possibility to remove the "AcceptAll FileFilter" via FileChooserBuilder