![]() |

|
Java Tip #2: Making Use of Batch Files in Windows Another way to save time when programming in the Windows environment and having only the JDK at your disposal is to make use of batch files. A batch file is simply a text file with the extension .bat, which executes a series of commands. In Windows, batch files can be executed by simply double-clicking them, and edited by right clicking on one and selecting Edit from the pop-up menu. I typically create two batch files in the directory where my project resides. For example, one would be titled compile.bat and contain the following lines: @echo off javac *.java The other might be titled run.bat and contain the lines: @echo off appletviewer MyApplet.html The line "@echo off" causes the DOS window to exit upon completion, thus preventing your desktop from being littered with dozens of little black windows. |
| Sell essays online Now, perhaps you need to do education papers, and sell essays online you can find more. studentessayhelp.com |