public class ClientLauncher
extends java.lang.Object
Handles CLI option parsing, logging initialization, Look-and-Feel pre-configuration,
and passes clean runtime parameters to the Client instance.
| Constructor and Description |
|---|
ClientLauncher() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Main entry point for the client application.
|
static void |
mainStart(java.lang.String[] args) |
static void |
mainStart(java.lang.String[] args,
java.lang.String pathClientLogTxt)
Initializes and starts the client application.
|
static void |
politeMain(java.lang.String[] args)
Alternative entry point for the client application, called by the "LogWindow" GUI button.
|
public static void main(java.lang.String[] args)
This method is called when the client is launched using the following methods:
args - The command line arguments.public static void politeMain(java.lang.String[] args)
This method is invoked when the client is launched via the "LogWindow" GUI button, which is configured in the "Server.jnlp" (Java Web Start), "server.dst" (dawn) or Windows command line server start script "server.cmd" for some older projects. It initializes the RepaintManager with a custom implementation (IRepaintManager) and then delegates to the mainStart method to perform the actual client startup.
args - The command line arguments.public static void mainStart(java.lang.String[] args)
public static void mainStart(java.lang.String[] args,
java.lang.String pathClientLogTxt)
This method performs the core initialization and startup logic for the client application. It processes the command line arguments, sets up the necessary environment and launches the logon window or the main client window if correct credentials were passed and logon was successful.
args - The command line arguments._pathClientLogTxt - The path to the client log file (optional).Copyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.