Examples of addTab()


Examples of javax.swing.JTabbedPane.addTab()

            for (int i = 0; i < layerComps.length; i++) {
                Layer layer = (Layer) layerComps[i];
                Component layerGUI = layer.getGUI();
                if (layerGUI != null) {
                    tabs.addTab(layer.getName(), layerGUI);
                }

                VisHelper layerVisibility = new VisHelper(layer);
                bfPanel.add(layerVisibility);
            }
View Full Code Here

Examples of javax.swing.JTabbedPane.addTab()

        // HELP PANES
        JTabbedPane helpTreePane = new JTabbedPane();

        // Tree contents pane
        JScrollPane treeScrollPane = new JScrollPane(helpTree, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER );
        helpTreePane.addTab(resources.getString("contents"),resources.getIcon("folderIcon"),treeScrollPane, resources.getString("contentsTips"));


        // Search pane
        helpTreePane.addTab(resources.getString("search"),resources.getIcon("searchIcon"),helpSearchPanel, resources.getString("searchTips"));
View Full Code Here

Examples of javax.swing.JTabbedPane.addTab()

        JScrollPane treeScrollPane = new JScrollPane(helpTree, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER );
        helpTreePane.addTab(resources.getString("contents"),resources.getIcon("folderIcon"),treeScrollPane, resources.getString("contentsTips"));


        // Search pane
        helpTreePane.addTab(resources.getString("search"),resources.getIcon("searchIcon"),helpSearchPanel, resources.getString("searchTips"));


        treeModel.reload();

        // Create global frame
View Full Code Here

Examples of javax.swing.JTabbedPane.addTab()

        sp.add(shapeTitle, BorderLayout.NORTH);
       
        svgShapeProperties = new SvgShapePropertiesPanel(shapeName);
        sp.add(svgShapeProperties, BorderLayout.CENTER);
       
        plotPane.addTab(resources.getStringValue("shape"), sp);
       
       
         // Gates properties
        JPanel gp = new JPanel (new BorderLayout());
        JLabel gatesTitle = new JLabel(resources.getStringValue("gates"));
View Full Code Here

Examples of javax.swing.JTabbedPane.addTab()

        gp.add(gatesTitle, BorderLayout.NORTH);
       
        gatesProperties = new GatesPropertiesPanel();
        gp.add(gatesProperties, BorderLayout.CENTER);
       
        plotPane.addTab(resources.getStringValue("gates"), gp);
       
       
        add(plotPane);
    }
View Full Code Here

Examples of javax.swing.JTabbedPane.addTab()

   
    statistics.add(createGlobalStatisticPanel());   
    statistics.add(createCurveStatisticsPanel());
 
    statistics2.add(statistics, BorderLayout.NORTH);
    informationPane.addTab(resources.getString("plotStatistics"),
            new JScrollPane(statistics2, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER ));


    contentPane.add(headerPanel, BorderLayout.NORTH);
    contentPane.add(informationPane, BorderLayout.CENTER);
View Full Code Here

Examples of javax.swing.JTabbedPane.addTab()

    axisPane.add(axeprop[3]=new AxePropertiesPanel(resources.getStringValue("secYSection"), "secY", false, null));
    axisPaneContainer.add(axisPane,BorderLayout.CENTER );
   
    JPanel s1 = new JPanel (new BorderLayout());
    s1.add(axisPaneContainer, BorderLayout.NORTH);
    plotPane.addTab(resources.getString("axisLabel"), s1);
 
    // Curves pane
    JPanel curvePaneContainer = new JPanel (new BorderLayout());
    JLabel curveTitle = new JLabel(resources.getStringValue("curveLabel"));
    curveTitle.setFont(new Font("Dialog", Font.PLAIN,18));
View Full Code Here

Examples of javax.swing.JTabbedPane.addTab()

   
    curvePaneContainer.add(curvePane,BorderLayout.CENTER);
   
    JPanel s2 = new JPanel (new BorderLayout());
    s2.add(curvePaneContainer, BorderLayout.NORTH);
    plotPane.addTab(resources.getString("curveLabel"), s2);
   
   
    //  Limit pane
    JPanel limitPaneContainer = new JPanel (new BorderLayout());
    JLabel limitTitle = new JLabel(resources.getStringValue("limitLabel"));
View Full Code Here

Examples of javax.swing.JTabbedPane.addTab()

   
    limitPaneContainer.add(limitPane,BorderLayout.CENTER);
   
    JPanel l = new JPanel (new BorderLayout());
    l.add(limitPaneContainer, BorderLayout.NORTH);
    plotPane.addTab(resources.getString("limitLabel"), l);


   
    // Plot settings pane
    JPanel plotSettingsContainer= new JPanel (new BorderLayout());
View Full Code Here

Examples of javax.swing.JTabbedPane.addTab()

    plotSettingsContainer.add(plotPropertiesPane,BorderLayout.CENTER);
    JPanel s3 = new JPanel (new BorderLayout());
    s3.add(plotSettingsContainer, BorderLayout.NORTH);
   
   
    plotPane.addTab(resources.getString("plotLabel"), s3);
   
   
    this.addOnCurrentRow(plotPane, 1, true, true, true);
  }
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.