J2Exe - The best friend of every Java Developer
| ||||
J2Exe project use the following parameters for making your exe:
Their explanation follows. An example and FAQ is available in section FAQ (see the link bellow). Input parameters:
Output properties:
Managed console: If you build executable file (or windows service) with managed console then you can find a menu item in system menu of every frame of your java applications. This menu item will give you the possibility to show and to hide console of your applications. This is useful for testing purpose because you can show standard console and to dump stack traces of all threads. During the rest of the time the console is hidden and your taskbar is free of it.
Tray: Two additional classes are provided - WinTray.java and WinTrayListener.java. They are located in wintray.jar which is generated together with exe. Developer can use them to embed his own menu items into tray popup menu of application and to receive notification events when user clicks one of them. No additional natives are required. The main window is marked by developer through setting its title to "WinTray". The original title can be set immediately after mark operation. This process is transparent for user. At the same time it provides unique method to mark main window no matter what GUI library (AWT, SWT, etc.) and JDK is used. It can be ommited for JDK1.4.x and AWT/Swing. Others might use invisible windows (like "createBuffer" in JDK1.2.2) and makes the task of determination of main window impossible. Windows Service: Generates standard windows service.
The service is installed with "
|