All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jdesktop.beans.editors.ShapeChooser Maven / Gradle / Ivy

The newest version!
/*
 * ShapeChooser.java
 *
 * Created on August 23, 2006, 10:19 PM
 */

package org.jdesktop.beans.editors;

/**
 *
 * @author  joshy
 */
public class ShapeChooser extends javax.swing.JPanel {
    
    /** Creates new form ShapeChooser */
    public ShapeChooser() {
        initComponents();
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // //GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        shapeCombo = new javax.swing.JComboBox();

        setLayout(new java.awt.GridBagLayout());

        shapeCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Square", "Circle" }));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.weightx = 10.0;
        gridBagConstraints.weighty = 10.0;
        add(shapeCombo, gridBagConstraints);

    }// //GEN-END:initComponents
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    public javax.swing.JComboBox shapeCombo;
    // End of variables declaration//GEN-END:variables
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy