public void actionPerformed(ActionEvent arg0) {
				try{
					Object[] option = {"Hapus","Tunda"};
					int op = JOptionPane.showOptionDialog(null, "Data akan dihapus. Teruskan? ","Konfirmasi Jawaban",JOptionPane.YES_NO_OPTION,JOptionPane.INFORMATION_MESSAGE,null,option,option[0]);
					
					if(op==0){
						String sql1;
						sql1= "DELETE FROM `tabel_softcash` WHERE `idRumah`="+MainRumah.rumahSimpan.getIDRumah();
						statement.executeUpdate(sql1);
					
						sql = "INSERT INTO `tabel_history`(`pembeli`, `tanggal`, `booking`, `tipe_rumah`, `no_rumah`, `marketing`, `keterangan`) VALUES ('"+MainRumah.pembeli.Nama+"','"+ft.format(dNow)+"','"+Jumlah1.getText().toString()+"','"+MainRumah.rumahSimpan.getTipe()+"','"+MainRumah.rumahSimpan.getNoRumah()+"','"+MainRumah.marketing+"','hapus data pembayaran Soft Cash')";
						statement.executeUpdate(sql);
						
					JOptionPane.showMessageDialog(null, "Data berhasil dihapus");
					setVisible(false);
					MainRumah frameMain = new MainRumah();
					frameMain.setVisible(true);
					}
					
				
				
			}catch(SQLException se){
				se.printStackTrace();
				JOptionPane.showMessageDialog(null, "Data gagal dihapus");
				
			}
			}