public Object[] getChildren(Object parentElement) {
if (parentElement == null || "".equals(parentElement)) {
return masterServerList.toArray();
} else if (parentElement instanceof MasterServer) {
MasterServer masterServer = (MasterServer) parentElement;
GameServerListWrapper serverList = masterServer.getServerList(false);
serverList.refresh(false);
return serverList.getServerList();
}
return null;
}