@Override
public void actionPerformed(ActionEvent e) {
	String name = e.getActionCommand();
	switch(name)
	{
	case "login":
	{
		Login_GUI aLoginFrame = new Login_GUI();
		aLoginFrame.setVisible(true);
		break;
	}
	case "search":
		{
			Search_GUI aSearchFrame = new Search_GUI();
			aSearchFrame.setVisible(true);
			break;
		}

	case "customer":
		{
			flag=1;
			buttonEnable(flag);
			break;
		}
	case "administor":
	{
		flag=2;
		buttonEnable(flag);
		break;
	}
	case "sort":
	{
		Sort_GUI aSortFrame = new Sort_GUI();
		aSortFrame.setVisible(true);
		break;
	}
	case "transaction":
	{
		Transaction_GUI aTransactionFrame = new Transaction_GUI();
		aTransactionFrame.setVisible(true);
		break;
	}
	case "delete":
	{
		Delete_GUI aDeleteFrame = new Delete_GUI();
		aDeleteFrame.setVisible(true);
		break;
	}
	case "add":
	{
		Add_GUI aAddFrame = new Add_GUI();
		aAddFrame.setVisible(true);
		break;
	}
	default:
	{
		aText_p4.setText("ERROR");
	}
	}
}