void () { LocalHistoryFacade facade = LocalHistoryImpl.getInstanceImpl().getFacade(); myModel = createModel(facade); setTitle(myModel.getTitle()); JComponent root = createComponent(); setComponent(root); setPreferredFocusedComponent(showRevisionsList() ? myRevisionsList.getComponent() : myDiffView); myUpdateQueue = new MergingUpdateQueue(getClass() + ".revisionsUpdate", 500, true, root, this, null, false); myUpdateQueue.setRestartTimerOnAdd(true); facade.addListener(new LocalHistoryFacade.Listener() { @Override public void changeSetFinished() { scheduleRevisionsUpdate(null); } }, this); scheduleRevisionsUpdate(null); }