But supposing I have a folder (res) of images in the folder that the projects jar file is in. I'm unable to load these images into the program.Why did you think it would work? Unless the current directory when you execute contains the 'res' directory, it won't.
I thought this would work...
colin-java wrote:As EJP already said, it will only work if that "same directory" is the current working directory. If it worked in "normal Java" then that just means that the current working directory happened to be set so that it worked.
So basically I have.... res and ABC.jar in same directory
Should this work, or is it something in javafx that stops it?
EJP wrote:My question wasn't rhetoric. Since the OP had been posting questions in the FX 2 forum, I wanted to make an informed decision whether to move the thread or not.
Which suggests that your guess is wrong.
@Daryl I think you could cool off a touch ;-)