Package Control

Examples of Control.SatedaHandler


      e.printStackTrace();
    }
 
    MainWindow mainWindow = new MainWindow(settings.mainWindowBounds, settings.loginAtClientStart,
        settings.connectionName.size());
    SatedaHandler satedaHandler = new SatedaHandler(settings, mainWindow, record);
   
    mainWindow.setEventHandler(satedaHandler);
     
    int index = -1;
    for(ChatProvider type : settings.connectionType){
      index++;
      Connection connection = null;
     
      if(type.equals(ChatProvider.ICQ)){
        connection = new ICQSimulation(settings.loginName.get(index),
            settings.loginPassword.get(index), satedaHandler, ChatProvider.ICQ);
      }else if(type.equals(ChatProvider.MSN)){
        connection = new MSNSimulation(settings.loginName.get(index),
            settings.loginPassword.get(index), satedaHandler, ChatProvider.MSN);     
      }
      satedaHandler.addConnection(connection);
    }
   
    satedaHandler.startClient();

  }
View Full Code Here

TOP

Related Classes of Control.SatedaHandler

Copyright © 2018 www.massapicom. 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.