Is there a way to put a filepath into a JOptionPane
?
E.g. I have a folder in my project directory and would like to get the path to that folder and show it into the message.
JOptionPane.showMessageDialog(null,"your file path,remember to use double slahses instead of single ones");