public void actionPerformed(ActionEvent e) { if (e.getSource() == button[0]) { String str = condition.getText(); ctrl.del(str, SASKaiView.tm); } else if (e.getSource() == button[1]) { condition.setText(""); } else if (e.getSource() == button[2]) { String str = ""; ctrl.del(str, SASKaiView.tm); } else if (e.getSource() == button[3]) { System.exit(0); } else if (e.getSource() == bSearch) { SASKaiView.tm.setRowCount(0); String str = condition.getText(); ctrl.expressResult(str, SASKaiView.tm); } }