How do I open a file with a class, or can I?
I am trying to make a program, where when I double click on an xml file, it will load up my program. My program then need to know the name and location of the xml file.
What I am clueless at is the part where I retrieve the name and location of the file. I just don't know how this part works.
The idea is to open foo.xml with xmlFilter.class? xmlFilter.class would then use the filename and location to perform various tasks...
This is something completely new to me, and I greatly appreciate all of your help!