예제 #1
0
 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;
 }
예제 #2
0
 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;
 }
예제 #3
0
 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);
 }