com.retek.rcom.gui.core
Class RcomClientLauncher

java.lang.Object
  extended bycom.retek.rcom.gui.core.RcomClientLauncher

public class RcomClientLauncher
extends java.lang.Object

This class launches the Rcom client application.

Retek Inc. Copyright (c) 2002


Constructor Summary
RcomClientLauncher()
          Returns new Rcom client application object.
 
Method Summary
 long getUsedMemory(long totalMemory)
          Retrieves the amount of used memory.
 long getUsedPercent(long totalMemory)
          Retrieves the current used percentage of memory on the machine.
 void initialize(java.lang.String configFile)
          Creates the configuration manager and configures the systems.
 void launch()
          Launches the main background screen of the application.
static void main(java.lang.String[] argv)
          The main method is called upon application execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RcomClientLauncher

public RcomClientLauncher()
Returns new Rcom client application object.

Method Detail

main

public static void main(java.lang.String[] argv)
The main method is called upon application execution. It creates a new RcomClient objects, initializes the object with the configuration file and then launch the main screen of the application.

Parameters:
argv - Array of arguments passed in from the command line execution call.

initialize

public void initialize(java.lang.String configFile)
Creates the configuration manager and configures the systems.

Parameters:
configFile - The name of the system configuration file.

launch

public void launch()
Launches the main background screen of the application. This creates the main GUI window frame, initializes its properties and then displays the screen on the desktop.


getUsedMemory

public long getUsedMemory(long totalMemory)
Retrieves the amount of used memory.

Parameters:
totalMemory - The total memory available to the application.
Returns:
The amount of memory used by the application.

getUsedPercent

public long getUsedPercent(long totalMemory)
Retrieves the current used percentage of memory on the machine.

Parameters:
totalMemory - The total memory available to the application.
Returns:
The amount of memory used by the application.


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28