SwingUtilities.invokeLater(new Runnable() {
public void run() {
final BrowserPanel browserPanel = BrowserPanel.getInstance(project);
SelectJobDialog dialog = new SelectJobDialog(selectedChangeLists, browserPanel.getJobs(), project);
dialog.setLocationRelativeTo(null);
dialog.setMaximumSize(new Dimension(300, 200));
dialog.pack();
dialog.setVisible(true);
}
});
}