Package org.webharvest.gui.component

Examples of org.webharvest.gui.component.WHComboBox


        GridBagConstraints constraints = new GridBagConstraints();
        constraints.fill = GridBagConstraints.HORIZONTAL;
        constraints.insets = new Insets(2, 5, 2, 5);

        searchComboBox = new WHComboBox(new Object[] {}) {
            public Dimension getPreferredSize() {
                return new Dimension(300, 20);
            }
        };
        searchComboBox.setEditable(true);
        searchComboBox.getEditor().addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                searchComboBox.setSelectedItem(e.getActionCommand());
            }
        });
       
        replaceLabel = new JLabel("Replace with: ");
        replaceComboBox = new WHComboBox(new Object[] {}) {
            public Dimension getPreferredSize() {
                return new Dimension(300, 20);
            }
        };
        replaceComboBox.setEditable(true);
View Full Code Here

TOP

Related Classes of org.webharvest.gui.component.WHComboBox

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.