e.printStackTrace();
} catch (ClassNotFoundException e) {
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;