Package org.pentaho.reporting.engine.classic.core.modules.gui.base.about

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.base.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, ClassicEngineInfo.getInstance());
      }
      else if (w instanceof Dialog)
      {
        aboutFrame = new AboutDialog
            ((Dialog) w, title, ClassicEngineInfo.getInstance());
      }
      else
      {
        aboutFrame = new AboutDialog
            (title, ClassicEngineInfo.getInstance());
      }
      aboutFrame.pack();
      SwingUtil.centerFrameOnScreen(aboutFrame);
    }
View Full Code Here


   */
  public synchronized void displayAbout()
  {
    if (aboutFrame == null)
    {
      aboutFrame = new AboutDialog(getResources().getString("action.about.name"),
          ClassicEngineDemoInfo.getInstance());

      aboutFrame.pack();
      SwingUtil.centerFrameOnScreen(aboutFrame);
    }
View Full Code Here

   */
  public synchronized void displayAbout()
  {
    if (aboutFrame == null)
    {
      aboutFrame = new AboutDialog(getResources().getString("action.about.name"),
          ClassicEngineDemoInfo.getInstance());

      aboutFrame.pack();
      LibSwingUtil.centerFrameOnScreen(aboutFrame);
    }
View Full Code Here

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

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.modules.gui.base.about.AboutDialog

Copyright © 2018 www.massapicom. 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.