I have a new problem. I have a JDialog with a JFileChooser that the user uses to select a new image file. The problem I have is getting the relative path from the user input. I can get an absolute path, but that does not work with new File(path), where path is the absolute path, not a relative one.
Is there a simple method I'm missing to convert this?