Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: Hiding the Console in Windows XP
|
Posted: Mar 19, 2003 6:54 PM
|
|
Yes indeed there is. In fact, the way to do it is to create a shortcut -- which is a .lnk file. So, right click in some folder (or directory if you will), and choose "New / Shortcut" from the menu; then, just browse to the Java bin directory and use Javaw as the program and finish up. Then right click on the new shortcut and choose properties; from there, change the target to "[java bin path]\javaw.exe YourMainClass" and make the startup directory be where that class file is. You can change the icon, too. You can execute this lnk file from another program or by double-clicking, etc.
|
|