Package javax.swing

Examples of javax.swing.JTabbedPane.addTab()


        panelDefinitionsParent = new DefinitionPanel(module);
        tp.addTab(DcResources.getText("lblXFields", module.getLabel()), IconLibrary._icoSettings16, panelDefinitionsParent);

        if (module.getChild() != null) {
            panelDefinitionsChild = new DefinitionPanel(module.getChild());
            tp.addTab(DcResources.getText("lblXFields", module.getChild().getLabel()), IconLibrary._icoSettings16, panelDefinitionsChild);
        }
       
        DcColorSelector cs = ComponentFactory.getColorSelector(DcRepository.Settings.stQuickViewBackgroundColor);
        cs.setValue(DcSettings.getColor(DcRepository.Settings.stQuickViewBackgroundColor));
        tp.addTab(DcResources.getText("lblBackgroundColor"), IconLibrary._icoColor16, cs);       
View Full Code Here


            tp.addTab(DcResources.getText("lblXFields", module.getChild().getLabel()), IconLibrary._icoSettings16, panelDefinitionsChild);
        }
       
        DcColorSelector cs = ComponentFactory.getColorSelector(DcRepository.Settings.stQuickViewBackgroundColor);
        cs.setValue(DcSettings.getColor(DcRepository.Settings.stQuickViewBackgroundColor));
        tp.addTab(DcResources.getText("lblBackgroundColor"), IconLibrary._icoColor16, cs);       
       
        getContentPane().add(tp, Layout.getGBC(0, 1, 1, 1, 10.0, 10.0,
                GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
                new Insets(5, 5, 5, 5), 0, 0));
        getContentPane().add(panelActions, Layout.getGBC(0, 2, 1, 1, 1.0, 1.0,
View Full Code Here

        JButton buttonClose = ComponentFactory.getButton(DcResources.getText("lblClose"));
        buttonClose.setActionCommand("close");
        buttonClose.addActionListener(this);
        panelActions.add(buttonClose);
       
        tabbedPane.addTab(DcResources.getText("lblSystem"), IconLibrary._icoSettings16, systemPanel);
        tabbedPane.addTab(DcResources.getText("lblSQLTool"), IconLibrary._icoSQLTool, queryPanel);

        getContentPane().setLayout(Layout.getGBL());
        getContentPane().add(tabbedPane, Layout.getGBC( 0, 0, 1, 1, 50.0, 50.0
                        ,GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
View Full Code Here

        buttonClose.setActionCommand("close");
        buttonClose.addActionListener(this);
        panelActions.add(buttonClose);
       
        tabbedPane.addTab(DcResources.getText("lblSystem"), IconLibrary._icoSettings16, systemPanel);
        tabbedPane.addTab(DcResources.getText("lblSQLTool"), IconLibrary._icoSQLTool, queryPanel);

        getContentPane().setLayout(Layout.getGBL());
        getContentPane().add(tabbedPane, Layout.getGBC( 0, 0, 1, 1, 50.0, 50.0
                        ,GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
               new Insets(0, 0, 0, 0), 0, 0));
View Full Code Here

        csEven.setValue(DcSettings.getColor(DcRepository.Settings.stEvenRowColor));
        csTextBg.setValue(DcSettings.getColor(DcRepository.Settings.stCardViewBackgroundColor));
       
        cisp = new CardViewPictureSettingsPanel(DcModules.getCurrent().getIndex());
       
        tp.addTab(DcResources.getText("lblDescription"), fsp);
        tp.addTab(DcResources.getText("lblPictures"), cisp);
        tp.addTab(DcResources.getText("lblEvenColor"), csEven);
        tp.addTab(DcResources.getText("lblOddColor"), csOdd);
        tp.addTab(DcResources.getText("lblBackgroundColor"), csTextBg);
       
View Full Code Here

        csTextBg.setValue(DcSettings.getColor(DcRepository.Settings.stCardViewBackgroundColor));
       
        cisp = new CardViewPictureSettingsPanel(DcModules.getCurrent().getIndex());
       
        tp.addTab(DcResources.getText("lblDescription"), fsp);
        tp.addTab(DcResources.getText("lblPictures"), cisp);
        tp.addTab(DcResources.getText("lblEvenColor"), csEven);
        tp.addTab(DcResources.getText("lblOddColor"), csOdd);
        tp.addTab(DcResources.getText("lblBackgroundColor"), csTextBg);
       
        //**********************************************************
 
View Full Code Here

       
        cisp = new CardViewPictureSettingsPanel(DcModules.getCurrent().getIndex());
       
        tp.addTab(DcResources.getText("lblDescription"), fsp);
        tp.addTab(DcResources.getText("lblPictures"), cisp);
        tp.addTab(DcResources.getText("lblEvenColor"), csEven);
        tp.addTab(DcResources.getText("lblOddColor"), csOdd);
        tp.addTab(DcResources.getText("lblBackgroundColor"), csTextBg);
       
        //**********************************************************
        //Action Panel
View Full Code Here

        cisp = new CardViewPictureSettingsPanel(DcModules.getCurrent().getIndex());
       
        tp.addTab(DcResources.getText("lblDescription"), fsp);
        tp.addTab(DcResources.getText("lblPictures"), cisp);
        tp.addTab(DcResources.getText("lblEvenColor"), csEven);
        tp.addTab(DcResources.getText("lblOddColor"), csOdd);
        tp.addTab(DcResources.getText("lblBackgroundColor"), csTextBg);
       
        //**********************************************************
        //Action Panel
        //**********************************************************
 
View Full Code Here

       
        tp.addTab(DcResources.getText("lblDescription"), fsp);
        tp.addTab(DcResources.getText("lblPictures"), cisp);
        tp.addTab(DcResources.getText("lblEvenColor"), csEven);
        tp.addTab(DcResources.getText("lblOddColor"), csOdd);
        tp.addTab(DcResources.getText("lblBackgroundColor"), csTextBg);
       
        //**********************************************************
        //Action Panel
        //**********************************************************
        JButton buttonSave = ComponentFactory.getButton(DcResources.getText("lblSave"));
View Full Code Here

       
        csOdd.setValue(DcSettings.getColor(DcRepository.Settings.stOddRowColor));
        csEven.setValue(DcSettings.getColor(DcRepository.Settings.stEvenRowColor));
        scHeader.setValue(DcSettings.getColor(DcRepository.Settings.stTableHeaderColor));
       
        tp.addTab(DcResources.getText("lblColumns", DcModules.getCurrent().getLabel()), fspParent);
       
        if (DcModules.getCurrent().getChild() != null)
            tp.addTab(DcResources.getText("lblColumns", DcModules.getCurrent().getChild().getLabel()), fspChild);
       
        tp.addTab(DcResources.getText("lblEvenColor"), csEven);
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.