public TVSerieInfoSchede(DefaultGui gui, TMDBScheda f) { super(); back = gui; scheda = f; if (Settings.getBoolean("servercollaborate")) { syncRunning = true; Runnable r = new Runnable() { public void run() { NewServerQuery.loadFileOfSchede(scheda); syncRunning = false; downloads.setVisible(!syncRunning); sync.setVisible(syncRunning); } }; ThreadManager.submitCacheTask(r); } }