| | |
| | | */ |
| | | public class StatusPanelLauncher |
| | | { |
| | | private static String COMMAND_NAME_WINDOWS = "statuspanel.bat"; |
| | | |
| | | private static String COMMAND_NAME_UNIX = "statuspanel"; |
| | | |
| | | /** |
| | | * The main method which is called by the control panel command lines. |
| | | * @param args the arguments passed by the command lines. |
| | |
| | | String arg; |
| | | if (Utils.isWindows()) |
| | | { |
| | | arg = COMMAND_NAME_WINDOWS; |
| | | arg = Utils.getWindowsStatusPanelFileName(); |
| | | } else |
| | | { |
| | | arg = COMMAND_NAME_UNIX; |
| | | arg = Utils.getUnixStatusPanelFileName(); |
| | | } |
| | | /* |
| | | * This is required because the usage message contains '{' characters that |