I have created a swing application which gives the output by creating two text files on the same directory of where it runs. I have used FileWriter to write into the files. When I run the class file using usual
java command everything was going fine. I have created a jar file for the class and I am able to run the jar file also.
If I double-click or java -jar the jar file, the swing application gets displayed perfectly. But after doing the actions in the swing UI, the output files are not getting created. I could not understand why this is happening. Can any one tell about this?
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, NEXT--->IBM XML