this.mainWindow = mainWindow;
tree = mainWindow.getProblemBrowserTree();
}
public void run() {
sqlManager = new SQLManager();
final String username = ConfigurationManager.settings.get("username");
final List<String> ttProblemsName = new ArrayList<String>();
Problem treeElements = ((Problem)tree.getRoot()).getProblems().get(1);
for (TransportationTask tt: treeElements.getTTProblems()) {