I have a custom "container" folder. I named it .llp. It is actually a folder which contains inside 2 files that I actually need.
Then I use JFileChooser and tell it to display only .llp files. But if I select any of those .llp files/folders it opens them and I see files in it. I could use workaround:
fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
But then user can select some different folders as well.
I would be much happier if when I could create that .llp file/container and that system treat it as a file container, not as a folder. For example, if I double click on it, I don't want it to open but to ask me which program do I want to use to open .llp file type.