Reputation: 764
I'm using Java 7 and I need to know, if it is possible to find out which filter extension was selected... I know that in JavaFX 8.0 we have a proper method, but I must work on lower version. But I have no idea, how to find out which filter is chosen and save file with this extension.
Any ideas?
Upvotes: 0
Views: 346
Reputation: 1938
I don't believe that it is possible in JavaFX 2.2 to identify a selected extension. My research turned up no real solutions when I needed to address the same issue. I ended up settling on a set of file extensions and handling the saving from a custom dialog.
Upvotes: 1