001 /*
002 * ShapeChooser.java
003 *
004 * Created on August 23, 2006, 10:19 PM
005 */
006
007 package org.jdesktop.swingx.editors;
008
009 /**
010 *
011 * @author joshy
012 */
013 public class ShapeChooser extends javax.swing.JPanel {
014
015 /** Creates new form ShapeChooser */
016 public ShapeChooser() {
017 initComponents();
018 }
019
020 /** This method is called from within the constructor to
021 * initialize the form.
022 * WARNING: Do NOT modify this code. The content of this method is
023 * always regenerated by the Form Editor.
024 */
025 // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
026 private void initComponents() {
027 java.awt.GridBagConstraints gridBagConstraints;
028
029 shapeCombo = new javax.swing.JComboBox();
030
031 setLayout(new java.awt.GridBagLayout());
032
033 shapeCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Square", "Circle" }));
034 gridBagConstraints = new java.awt.GridBagConstraints();
035 gridBagConstraints.weightx = 10.0;
036 gridBagConstraints.weighty = 10.0;
037 add(shapeCombo, gridBagConstraints);
038
039 }// </editor-fold>//GEN-END:initComponents
040
041
042 // Variables declaration - do not modify//GEN-BEGIN:variables
043 public javax.swing.JComboBox shapeCombo;
044 // End of variables declaration//GEN-END:variables
045
046 }