I need an Open Dialog File Chooser that opens files for reading only. I want user to only be able to click on a file name to select it with no option to edit the name. Users should be able to browse to other folders, though.
I’m on Ubuntu 10.11 with the latest Java (as of January).
TIA.
This example shows that editable file names is a feature of the
FileChooserUIimplementation. For example,com.apple.laf.AquaFileChooserUIdoes not have this capability. The tutorial does not suggest any way that it can be changed, but thisFileBrowsermay suggest a custom alternative.