public MissingMediaDialog showMissingMediaDialog(JFrame parent) { MissingMediaDialog dialog = new MissingMediaDialog(parent); dialog.setTitle("Missing Media"); dialog.setModal(true); dialog.setSize(new Dimension(320, 240)); UIUtil.centerOnFrame(dialog, parent); return dialog; }
public EditingConflictDialog showEditingConflictDialog(JFrame parent) { EditingConflictDialog dialog = new EditingConflictDialog(parent); dialog.setTitle("Editing Conflict"); dialog.setModal(true); dialog.setSize(new Dimension(320, 240)); UIUtil.centerOnFrame(dialog, parent); return dialog; }
public void showAboutDialog() { final JDialog splashDialog = new JDialog(getProjectExplorer()); splashDialog.setModal(true); splashDialog.setResizable(false); SplashPage page = new SplashPage(); splashDialog.add(page); splashDialog.pack(); UIUtil.centerOnFrame(splashDialog, getProjectExplorer()); splashDialog.setVisible(true); }