Examples of AboutDialog


Examples of org.jamesii.gui.application.james.AboutDialog

      @Override
      public void execute() {
        BasicUtilities.invokeLaterOnEDT(new Runnable() {
          @Override
          public void run() {
            AboutDialog aboutDialog =
                new AboutDialog(getWindowManager().getMainWindow());
            aboutDialog.setLocationRelativeTo(getWindowManager()
                .getMainWindow());
            aboutDialog.setVisible(true);
          }
        });
      }

    });
View Full Code Here

Examples of org.jfree.report.modules.gui.swing.preview.about.AboutDialog

      final String title = getDisplayName();
      // look where we have been added ...
      Window w = SwingUtil.getWindowAncestor(reportPane);
      if (w instanceof Frame)
      {
        aboutFrame = new AboutDialog
                ((Frame) w, title, JFreeReportInfo.getInstance());
      }
      else if (w instanceof Dialog)
      {
        aboutFrame = new AboutDialog
                ((Dialog) w, title, JFreeReportInfo.getInstance());
      }
      else
      {
        aboutFrame = new AboutDialog
                (title, JFreeReportInfo.getInstance());
      }
      aboutFrame.pack();
      SwingUtil.centerFrameOnScreen(aboutFrame);
    }
View Full Code Here

Examples of org.jfree.ui.about.AboutDialog

      final String title = getDisplayName();
      // look where we have been added ...
      final Window w = SwingUtil.getWindowAncestor(reportPane);
      if (w instanceof Frame)
      {
        aboutFrame = new AboutDialog
                ((Frame) w, title, JFreeReportInfo.getInstance());
      }
      else if (w instanceof Dialog)
      {
        aboutFrame = new AboutDialog
                ((Dialog) w, title, JFreeReportInfo.getInstance());
      }
      else
      {
        aboutFrame = new AboutDialog
                (title, JFreeReportInfo.getInstance());
      }
      aboutFrame.pack();
      RefineryUtilities.centerFrameOnScreen(aboutFrame);
    }
View Full Code Here

Examples of org.jmule.ui.swing.dialogs.AboutDialog

          }
        });
       
        about.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent event) {
            AboutDialog about_dialog = new AboutDialog(_this,true);
            SwingUtils.setWindowLocationRelativeTo(about_dialog,_this);
            about_dialog.setVisible(true);
          }
        });
       
    file.setText(_._("mainwindow.mainmenu.file"));
    fnew.setText("New");
View Full Code Here

Examples of org.languagetool.gui.AboutDialog

    @Override
    public void run() {
      // TODO: null can cause the dialog to appear on the wrong screen in a
      // multi-monitor setup, but we just don't have a proper java.awt.Component
      // here which we could use instead:
      final AboutDialog about = new AboutDialog(messages, null);
      about.show();
    }
View Full Code Here

Examples of org.nebulaframework.ui.swing.AboutDialog

  /**
   * Displays About Dialog
   */
  protected void showAbout() {
    try {
      new AboutDialog(this);
    } catch (Exception e) {
      log.error(e);
      JOptionPane.showMessageDialog(this, "Unable to display About dialog");
    }
  }
View Full Code Here

Examples of org.nebulaframework.ui.swing.AboutDialog

  /**
   * Displays About Dialog Box
   */
  protected void showAbout() {
    new AboutDialog(this);
  }
View Full Code Here

Examples of org.openscience.jchempaint.dialog.AboutDialog

  private static final long serialVersionUID = 1420132959122535398L;

  public void actionPerformed(ActionEvent e)
  {
      Frame frame = JOptionPane.getFrameForComponent(jcpPanel);
    AboutDialog ad = new AboutDialog(frame, jcpPanel.getGuistring());
    ad.pack();
    ad.setVisible(true);
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.AboutDialog

  {
    final Component parent = getReportDesignerContext().getView().getParent();
    final Window window = LibSwingUtil.getWindowAncestor(parent);
    if (window instanceof JDialog)
    {
      new AboutDialog((JDialog) window);
    }
    else if (window instanceof JFrame)
    {
      new AboutDialog((JFrame) window);
    }
    else
    {
      new AboutDialog();
    }

    if (e instanceof ConsumableActionEvent)
    {
      final ConsumableActionEvent ce = (ConsumableActionEvent) e;
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.AboutDialog

  {
    final Component parent = getReportDesignerContext().getParent();
    final Window window = SwingUtil.getWindowAncestor(parent);
    if (window instanceof JDialog)
    {
      new AboutDialog((JDialog) window);
    }
    else if (window instanceof JFrame)
    {
      new AboutDialog((JFrame) window);
    }
    else
    {
      new AboutDialog();
    }

    if (e instanceof ConsumableActionEvent)
    {
      final ConsumableActionEvent ce = (ConsumableActionEvent) e;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.