Is there a way to access the TextField of a JFileChooser to add an event listener?
The idea would be to add an event listener to the text field that checks the path for correctness. Note that a file filter is not an option, since the user must be able to select folders. Futhermore, I can't filter folders because the user must be able to navigate the folder hierarchy. Activating and deactivating the open button as discussed here is also not really a valid solution since the selection is validated only when the user clicks a folder. However, the user may also enter the path directly into the text field.