public FriendsListController(String username, String password) {
if (ServerInfo.currentServerInfo.XMPPserver == null) {
JOptionPane.showMessageDialog(null, "You're using a region of League of Legends that does not yet have a chat server configured - please contact KolakCC to get it added!");
return;
}
this.view = new FriendsListView();
this.setView(this.view);
this.initializeWorkers(username, password);
this.onlineModel = new FriendsListModel(FriendsListModel.ShowMode.ONLINE);
this.view.onlineList.setModel(onlineModel);