I have been looking for an answer to this on Stack Overflow, but I couldn't find an answer that worked for me.
Using Java, how do I create a button that will launch an Explorer Window to a specified directory? If this is possible, how do I make it work for OSX and Linux?
Desktop
version has the advantage of being portable code. The other way involves your code knowing what "explorer" to use for the current OS. (On the other hand, you get to choose ...) – Sorrow