/* * Find.java * * Created on May 9, 2005, 12:56 PM */ package usability; /** * * @author Lubo */ public class Find extends javax.swing.JPanel { /** Creates new form Find */ public Find() { 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() { buttonGroup1 = new javax.swing.ButtonGroup(); jLabel1 = new javax.swing.JLabel(); jTextField1 = new javax.swing.JTextField(); jButton1 = new javax.swing.JButton(); jPanel1 = new javax.swing.JPanel(); jRadioButton1 = new javax.swing.JRadioButton(); jRadioButton2 = new javax.swing.JRadioButton(); jCheckBox1 = new javax.swing.JCheckBox(); jCheckBox2 = new javax.swing.JCheckBox(); org.openide.awt.Mnemonics.setLocalizedText(jLabel1, "Fi&nd what:"); jTextField1.setText("jTextField1"); org.openide.awt.Mnemonics.setLocalizedText(jButton1, "Find next"); jButton1.setEnabled(false); jPanel1.setBorder(new javax.swing.border.EtchedBorder()); org.openide.awt.Mnemonics.setLocalizedText(jRadioButton1, "&Up"); jRadioButton1.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(0, 0, 0, 0))); jRadioButton1.setMargin(new java.awt.Insets(0, 0, 0, 0)); org.openide.awt.Mnemonics.setLocalizedText(jRadioButton2, "&Down"); jRadioButton2.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(0, 0, 0, 0))); jRadioButton2.setMargin(new java.awt.Insets(0, 0, 0, 0)); org.jdesktop.layoutext.NestedLayout jPanel1Layout = new org.jdesktop.layoutext.NestedLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(org.jdesktop.layoutext.NestedLayout.LEADING) .add(org.jdesktop.layoutext.NestedLayout.LEADING, jPanel1Layout.createSequentialGroup() .add(12, 12, 12) .add(jRadioButton1, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, org.jdesktop.layoutext.NestedLayout.DEFAULT_SIZE, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE) .add(6, 6, 6) .add(jRadioButton2, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, org.jdesktop.layoutext.NestedLayout.DEFAULT_SIZE, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE) .add(12, 12, 12)) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(org.jdesktop.layoutext.NestedLayout.LEADING) .add(org.jdesktop.layoutext.NestedLayout.LEADING, jPanel1Layout.createSequentialGroup() .add(12, 23, Short.MAX_VALUE) .add(jPanel1Layout.createParallelGroup(org.jdesktop.layoutext.NestedLayout.BASELINE) .add(jRadioButton1, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, org.jdesktop.layoutext.NestedLayout.DEFAULT_SIZE, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE) .add(jRadioButton2, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, org.jdesktop.layoutext.NestedLayout.DEFAULT_SIZE, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE)) .add(20, 20, 20)) ); org.openide.awt.Mnemonics.setLocalizedText(jCheckBox1, "Match &whole word only"); jCheckBox1.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(0, 0, 0, 0))); jCheckBox1.setMargin(new java.awt.Insets(0, 0, 0, 0)); org.openide.awt.Mnemonics.setLocalizedText(jCheckBox2, "Match &case"); jCheckBox2.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(0, 0, 0, 0))); jCheckBox2.setMargin(new java.awt.Insets(0, 0, 0, 0)); org.jdesktop.layoutext.NestedLayout layout = new org.jdesktop.layoutext.NestedLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(org.jdesktop.layoutext.NestedLayout.LEADING) .add(org.jdesktop.layoutext.NestedLayout.LEADING, layout.createSequentialGroup() .add(12, 12, 12) .add(layout.createParallelGroup(org.jdesktop.layoutext.NestedLayout.LEADING, false) .add(org.jdesktop.layoutext.NestedLayout.LEADING, layout.createSequentialGroup() .add(jLabel1, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, org.jdesktop.layoutext.NestedLayout.DEFAULT_SIZE, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE) .add(6, 6, 6) .add(jTextField1, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, 215, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE)) .add(org.jdesktop.layoutext.NestedLayout.TRAILING, layout.createSequentialGroup() .add(layout.createParallelGroup(org.jdesktop.layoutext.NestedLayout.LEADING) .add(jCheckBox1, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, org.jdesktop.layoutext.NestedLayout.DEFAULT_SIZE, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE) .add(jCheckBox2, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, org.jdesktop.layoutext.NestedLayout.DEFAULT_SIZE, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE)) .add(6, 40, Short.MAX_VALUE) .add(jPanel1, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, 105, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE))) .add(54, 54, 54) .add(6, 6, 6) .add(jButton1, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, org.jdesktop.layoutext.NestedLayout.DEFAULT_SIZE, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE) .add(12, 33, 33)) ); layout.setVerticalGroup( layout.createParallelGroup(org.jdesktop.layoutext.NestedLayout.LEADING) .add(org.jdesktop.layoutext.NestedLayout.LEADING, layout.createSequentialGroup() .add(12, 12, 12) .add(layout.createParallelGroup(org.jdesktop.layoutext.NestedLayout.LEADING) .add(org.jdesktop.layoutext.NestedLayout.LEADING, layout.createParallelGroup(org.jdesktop.layoutext.NestedLayout.BASELINE) .add(jLabel1, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, org.jdesktop.layoutext.NestedLayout.DEFAULT_SIZE, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE) .add(jTextField1, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, org.jdesktop.layoutext.NestedLayout.DEFAULT_SIZE, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE)) .add(jButton1, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, org.jdesktop.layoutext.NestedLayout.DEFAULT_SIZE, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE)) .add(2, 2, 2) .add(layout.createParallelGroup(org.jdesktop.layoutext.NestedLayout.LEADING) .add(org.jdesktop.layoutext.NestedLayout.LEADING, layout.createSequentialGroup() .add(jCheckBox1, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, org.jdesktop.layoutext.NestedLayout.DEFAULT_SIZE, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE) .add(6, 6, 6) .add(jCheckBox2, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, org.jdesktop.layoutext.NestedLayout.DEFAULT_SIZE, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE)) .add(jPanel1, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE, 46, org.jdesktop.layoutext.NestedLayout.PREFERRED_SIZE)) .add(12, 217, Short.MAX_VALUE)) ); } // //GEN-END:initComponents // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.ButtonGroup buttonGroup1; private javax.swing.JButton jButton1; private javax.swing.JCheckBox jCheckBox1; private javax.swing.JCheckBox jCheckBox2; private javax.swing.JLabel jLabel1; private javax.swing.JPanel jPanel1; private javax.swing.JRadioButton jRadioButton1; private javax.swing.JRadioButton jRadioButton2; private javax.swing.JTextField jTextField1; // End of variables declaration//GEN-END:variables }