void (final Collection<Change> changes, String sourceTitle, String targetTitle) { final String title = message("repository.browser.compare.title", sourceTitle, targetTitle); SwingUtilities.invokeLater(() -> { LoadingCommittedChangeListPanel panel = new LoadingCommittedChangeListPanel(myProject); panel.markChangesInAir(true); panel.setChanges(changes, null); final ChangeListViewerDialog dlg = new ChangeListViewerDialog(myProject, getRepositoryBrowser(), panel); dlg.setTitle(title); dlg.show(); }); }