I'm a novice when it comes to java and I have a couple of questions I have written a application for my home computer that I wish to be able to put a shortcut on the desktop that would start the app for me rather than having to go into the text editor & compile and then run the app. Is this what a jar is used for? If so, How do I create /use a jar. Another thing is that Im connecting to a Access 2000 database and I can only go forward through the records but not backwards. I can't go back to the previous record. Is there a driver or file that I can get that would allow me to move back to the previous record. I am using JDK 1.3.0_02 version.
1.Do you have windows on your home computer? You can create a .bat file and keep the code which executes your code in it. java name_of_class_file Or else you can create an executable jar file(Please refer to Sun's tutorial for that) and put the code to execute the jar file in the .bat file. java -jar name_of_jar_file 2.You can use ResultSet's previous() method to move the cursor to the previous row. But this will work only if the fetch direction is set properly in the Statement object. The default value is ResultSet.FETCH_FORWARD. Use setFetchDirection() to set it to ResultSet.FETCH_REVERSE or ResultSet.FETCH_UNKNOWN.
Snigdha<br />Sun Certified Programmer for the Java™ 2 Platform