@Override
	public void actionPerformed(ActionEvent e) {
		// TODO Auto-generated method stub
		
		String actionCommand = e.getActionCommand();
		
		if(e.getSource() instanceof JButton){
			if(e.getSource()==jbtTransaction){
				transactionGUI.openUI();
                setVisible(false);
                dispose();
			}
			else if(e.getSource()==jbtTransfer){
				transferGUI.openUI();
				setVisible(false);
                dispose();
			}
			else if(e.getSource()==jbtSearch){
				searchGUI.openUI();
				setVisible(false);
                dispose();
			}
			else if(e.getSource()==jbtWishlist){
				wishlistGUI.openUI();
				setVisible(false);
                dispose();
			}
			else if(e.getSource()==jbtReport){
				reportGUI.openUI();
				setVisible(false);
                dispose();
			}
			else if(e.getSource()==jbtUndo){
				Repository.Undo();
				Repository.Save();
				if(!SummaryController.GetAlert().equals("")){
					JOptionPane.showMessageDialog(null,SummaryController.GetAlert(),"Alert",JOptionPane.WARNING_MESSAGE);
				}
				openUI();
				setVisible(false);
				dispose();
			}
		}

	}