When I use showOpenDialog, how I can disable the "create new folder" icon in the filechoose. I can not figure out how to change property related with this opendialog.
The new folder button is created, configured and added to the JFileChooser in the installComponents method of the javax.swing.plaf.metal.MetalFileChooserUI class for the default LookAndFeel. You can remove the button with this
How did you get it enabled to begin with? (mine always show up disabled)
Anyway, here is a HACK (notice the capital letters indicating that not self respecting developer would actually use this approach in thier application)
This works, but there must be a better way to do this.