ok_actionPerformed(e);\r
}\r
});\r
- cancel.setText("Cancel");\r
- cancel.addActionListener(new ActionListener()\r
+ close.setText("Close");\r
+ close.addActionListener(new ActionListener()\r
{\r
public void actionPerformed(ActionEvent e)\r
{\r
- cancel_actionPerformed(e);\r
+ close_actionPerformed(e);\r
}\r
});\r
textfield.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11));\r
}\r
});\r
jPanel1.add(ok);\r
- jPanel1.add(cancel);\r
+ jPanel1.add(close);\r
this.add(jLabel1, new GridBagConstraints(0, 0, 2, 1, 0.0, 0.0\r
, GridBagConstraints.WEST,\r
GridBagConstraints.NONE,\r
JComboBox database = new JComboBox();\r
JLabel jLabel1 = new JLabel();\r
JButton ok = new JButton();\r
- JButton cancel = new JButton();\r
+ JButton close = new JButton();\r
JPanel jPanel1 = new JPanel();\r
JTextField textfield = new JTextField();\r
GridBagLayout gridBagLayout1 = new GridBagLayout();\r
- public void cancel_actionPerformed(ActionEvent e)\r
+ public void close_actionPerformed(ActionEvent e)\r
{\r
try\r
{\r
database.setEnabled(false);\r
textfield.setEnabled(false);\r
ok.setEnabled(false);\r
- cancel.setEnabled(false);\r
+ close.setEnabled(false);\r
\r
Thread worker = new Thread(this);\r
worker.start();\r
database.setEnabled(true);\r
textfield.setEnabled(true);\r
ok.setEnabled(true);\r
- cancel.setEnabled(true);\r
+ close.setEnabled(true);\r
frame.setTitle(getFrameTitle());\r
}\r
\r