Package info.walnutstreet.vs.ps03.client

Source Code of info.walnutstreet.vs.ps03.client.Client

/**
*
*/
package info.walnutstreet.vs.ps03.client;

import info.walnutstreet.vs.ps03.client.view.MainWindow;
import info.walnutstreet.vs.ps03.exceptions.CompositeAlreadySetupException;

import java.io.IOException;
import java.net.UnknownHostException;
import java.rmi.NotBoundException;
import java.rmi.RemoteException;

import org.apache.log4j.Logger;

/**
* @author Christpoh Gostner
* @version 0.1
*
*/
public class Client {
 
  /**
   * Logging ...
   */
  private static Logger logger = Logger.getLogger(Client.class);

  /**
   * Main.
   *
   * @param args
   * @throws IOException IOException
   * @throws UnknownHostException
   * @throws CompositeAlreadySetupException
   * @throws RemoteException
   * @throws NotBoundException
   */
  public static void main(String[] args) throws UnknownHostException, IOException, CompositeAlreadySetupException {
    Client.logger.debug("Client started ...");
    MainWindow window = new MainWindow();
    window.createTabFolder();
    window.createClientListControl();
    window.createGoodComposite();
    if (window.connectionDialog())
      window.runWindow();
    Client.logger.debug("Client stopped");
  }

}
TOP

Related Classes of info.walnutstreet.vs.ps03.client.Client

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.