Starting a native application from your Java code is as simple as the following command: Runtime.getRuntime().exec("notepad.exe"); Of course, this adds platform dependency to your code, and if you want your application to be portable it’s a good practice to avoid using the exec() method. But if it is necessary to initiate a native application for […]
Archive for the 'General' Category
Posted in General on Apr 4th, 2008
Posted in General on Jan 8th, 2008
Logging is an important and pretty useful mechanism for every application. It can help developers to debug and improve their code or test it’s functionality. Apache has made a great work in this field with it’s tool named log4j. You can find more information about it here. In this post I will provide a quick […]