Examples of JTabbedPane


Examples of javax.swing.JTabbedPane

    final JPanel about = new JPanel(new BorderLayout());

    final JPanel details = createAboutTab();

    boolean includetabs = false;
    final JTabbedPane tabs = new JTabbedPane();

    if (this.licence != null)
    {
      final JPanel licencePanel = createLicencePanel();
      licencePanel.setBorder(AboutDialog.STANDARD_BORDER);
      final String licenceTab = this.resources.getString("about-frame.tab.licence"); // NON-NLS
      tabs.add(licenceTab, licencePanel);
      includetabs = true;
    }

    if (info != null)
    {
      final JPanel librariesPanel = new LibraryPanel(info);
      librariesPanel.setBorder(AboutDialog.STANDARD_BORDER);
      final String librariesTab = this.resources.getString("about-frame.tab.libraries"); // NON-NLS
      tabs.add(librariesTab, librariesPanel);
      includetabs = true;
    }

    about.add(details, BorderLayout.NORTH);
    if (includetabs)
View Full Code Here

Examples of javax.swing.JTabbedPane

    encodingModel.sort();
    cbEncoding = new JComboBox(encodingModel);

    final JPanel exportPane = createExportPane();

    final JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.add(getResources().getString("csvexportdialog.export-settings"), exportPane); //$NON-NLS-1$
    tabbedPane.add(getResources().getString("csvexportdialog.parameters"), getParametersPanel()); //$NON-NLS-1$
    final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
    if ("true".equals(config.getConfigProperty(
        "org.pentaho.reporting.engine.classic.core.modules.gui.csv.data.AdvancedSettingsAvailable")))
    {
      tabbedPane.add(getResources().getString("csvexportdialog.advanced-settings"),
          createAdvancedOptionsPanel()); //$NON-NLS-1$
    }
    setContentPane(createContentPane(tabbedPane));

    getFormValidator().registerTextField(txFilename);
View Full Code Here

Examples of javax.swing.JTabbedPane

        "true".equals(config.getConfigProperty(
            "org.pentaho.reporting.engine.classic.core.modules.gui.html.zip.AdvancedSettingsAvailable"));
    final boolean metaDataSettingsTabAvail =
        "true".equals(config.getConfigProperty(
            "org.pentaho.reporting.engine.classic.core.modules.gui.html.zip.MetaDataSettingsAvailable"));
    final JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.add(getResources().getString("htmlexportdialog.export-settings"), exportPane); //$NON-NLS-1$
    tabbedPane.add(getResources().getString("htmlexportdialog.parameters"), getParametersPanel()); //$NON-NLS-1$

    if (metaDataSettingsTabAvail)
    {
      tabbedPane.add(getResources().getString("htmlexportdialog.metadata-settings"),
          createMetaDataPanel()); //$NON-NLS-1$
    }
    if (advancedSettingsTabAvail)
    {
      tabbedPane.add(getResources().getString("htmlexportdialog.advanced-settings"),
          createExportOptionsPanel()); //$NON-NLS-1$
    }

    setContentPane(createContentPane(tabbedPane));
  }
View Full Code Here

Examples of javax.swing.JTabbedPane

  private HashMap paneInfo = null;
  private boolean isConstructed = false;

  public TabbedPane(Widget parent, String name) throws GUIException {
    super(parent, name);
    pane = new JTabbedPane();
    paneInfo = new HashMap();
  }
View Full Code Here

Examples of javax.swing.JTabbedPane

  /**
   * Initializes the Swing components of this dialog.
   */
  private void initialize()
  {
    JTabbedPane theTabbedPane = new JTabbedPane();
    theTabbedPane.add(getResources().getString("rtf-exportdialog.export-settings"), createExportPanel());
    theTabbedPane.add(getResources().getString("rtf-exportdialog.parameters"), getParametersPanel());
    setContentPane(createContentPane(theTabbedPane));
  }
View Full Code Here

Examples of javax.swing.JTabbedPane

        "true".equals(config.getConfigProperty(
            "org.pentaho.reporting.engine.classic.core.modules.gui.html.file.AdvancedSettingsAvailable"));
    final boolean metaDataSettingsTabAvail =
        "true".equals(config.getConfigProperty(
            "org.pentaho.reporting.engine.classic.core.modules.gui.html.file.MetaDataSettingsAvailable"));
    final JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.add(getResources().getString("htmlexportdialog.export-settings"), exportPane); //$NON-NLS-1$
    tabbedPane.add(getResources().getString("htmlexportdialog.parameters"), getParametersPanel());
    if (metaDataSettingsTabAvail)
    {
      tabbedPane.add(getResources().getString("htmlexportdialog.metadata-settings"),
          createMetaDataPanel()); //$NON-NLS-1$
    }
    if (advancedSettingsTabAvail)
    {
      tabbedPane.add(getResources().getString("htmlexportdialog.advanced-settings"),
          createExportOptionsPanel()); //$NON-NLS-1$
    }

    setContentPane(createContentPane(tabbedPane));
  }
View Full Code Here

Examples of javax.swing.JTabbedPane

  /**
   * Initializes the Swing components of this dialog.
   */
  private void initialize()
  {
    final JTabbedPane theTabbedPane = new JTabbedPane();
    theTabbedPane.add(getResources().getString("excelexportdialog.export-settings"), createExportPanel());
    theTabbedPane.add(getResources().getString("excelexportdialog.parameters"), getParametersPanel());
    setContentPane(createContentPane(theTabbedPane));
  }
View Full Code Here

Examples of javax.swing.JTabbedPane

    final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
    final boolean advancedSettingsTabAvail =
        "true".equals(config.getConfigProperty(
            "org.pentaho.reporting.engine.classic.core.modules.gui.plaintext.AdvancedSettingsAvailable"));
    final JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.add(getResources().getString("plain-text-exportdialog.export-settings"), exportPane); //$NON-NLS-1$
    tabbedPane.add(getResources().getString("plain-text-exportdialog.parameters"), getParametersPanel());

    if (advancedSettingsTabAvail)
    {
      tabbedPane.add(getResources().getString("plain-text-exportdialog.advanced-settings"), createAdvancedPane()); //$NON-NLS-1$
    }
    setContentPane(createContentPane(tabbedPane));
    clear();
  }
View Full Code Here

Examples of javax.swing.JTabbedPane

  /**
   * Initializes the Swing components of this dialog.
   */
  private void initialize()
  {
    final JTabbedPane theTabbedPane = new JTabbedPane();
    theTabbedPane.add(getResources().getString("excelexportdialog.export-settings"), createExportPanel());
    theTabbedPane.add(getResources().getString("excelexportdialog.parameters"), getParametersPanel());
    setContentPane(createContentPane(theTabbedPane));
  }
View Full Code Here

Examples of javax.swing.JTabbedPane

    encodingModel.sort();
    cbEncoding = new JComboBox(encodingModel);

    final JPanel exportPane = createExportPane();

    final JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.add(getResources().getString("csvexportdialog.export-settings"), exportPane); //$NON-NLS-1$
    tabbedPane.add(getResources().getString("csvexportdialog.parameters"), getParametersPanel());

    // button panel
    final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
    if ("true".equals(config.getConfigProperty(
        "org.pentaho.reporting.engine.classic.core.modules.gui.csv.table.AdvancedSettingsAvailable")))
    {
      final JPanel advancedOptionsPane = createAdvancedOptionsPanel();
      tabbedPane.add(getResources().getString("csvexportdialog.advanced-settings"), advancedOptionsPane); //$NON-NLS-1$

    }
    setContentPane(createContentPane(tabbedPane));

    getFormValidator().registerTextField(txFilename);
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.