protected JTextField textfield = new JTextField();
protected JButton findAll = new JButton();
protected JButton findNext = new JButton();
- protected JButton cancel = new JButton();
JPanel jPanel1 = new JPanel();
GridLayout gridLayout1 = new GridLayout();
+ protected JButton createNewGroup = new JButton();
public GFinder()
{
{
jLabel1.setFont(new java.awt.Font("Verdana", 0, 12));
jLabel1.setText("Find");
- jLabel1.setBounds(new Rectangle(6, 28, 34, 15));
+ jLabel1.setBounds(new Rectangle(3, 30, 34, 15));
this.setLayout(null);
textfield.setFont(new java.awt.Font("Verdana", 0, 12));
textfield.setText("");
- textfield.setBounds(new Rectangle(41, 24, 133, 21));
+ textfield.setBounds(new Rectangle(40, 27, 133, 21));
textfield.addKeyListener(new java.awt.event.KeyAdapter()
{
public void keyTyped(KeyEvent e)
findNext_actionPerformed(e);
}
});
- cancel.setFont(new java.awt.Font("Verdana", 0, 12));
- cancel.setText("Close");
- cancel.addActionListener(new java.awt.event.ActionListener()
+ jPanel1.setBounds(new Rectangle(180, 5, 141, 64));
+ jPanel1.setLayout(gridLayout1);
+ gridLayout1.setHgap(0);
+ gridLayout1.setRows(3);
+ gridLayout1.setVgap(2);
+ createNewGroup.setEnabled(false);
+ createNewGroup.setFont(new java.awt.Font("Verdana", 0, 12));
+ createNewGroup.setToolTipText("");
+ createNewGroup.setMargin(new Insets(0, 0, 0, 0));
+ createNewGroup.setText("Create new group");
+ createNewGroup.addActionListener(new java.awt.event.ActionListener()
{
public void actionPerformed(ActionEvent e)
{
- cancel_actionPerformed(e);
+ createNewGroup_actionPerformed(e);
}
});
- jPanel1.setBounds(new Rectangle(178, 4, 102, 62));
- jPanel1.setLayout(gridLayout1);
- gridLayout1.setHgap(0);
- gridLayout1.setRows(3);
- gridLayout1.setVgap(2);
- this.add(textfield, null);
- this.add(jPanel1, null);
jPanel1.add(findNext, null);
jPanel1.add(findAll, null);
- jPanel1.add(cancel, null);
+ jPanel1.add(createNewGroup, null);
+ this.add(textfield, null);
this.add(jLabel1, null);
+ this.add(jPanel1, null);
}
protected void findNext_actionPerformed(ActionEvent e)
}
- protected void cancel_actionPerformed(ActionEvent e)
- {
-
- }
protected void textfield_actionPerformed(ActionEvent e)
{
{
findNext.setEnabled(true);
}
+
+ public void createNewGroup_actionPerformed(ActionEvent e)
+ {
+
+ }
+
}