public void actionPerformed(ActionEvent e) 
	{
		// TODO Auto-generated method stub
		if(e.getSource() == btAddCopy)
		{
			this.dispose();
			new AddCopy(user);
		}
		else if(e.getSource() == btAddDoc)
		{
			this.dispose();
			new AddDocTypeChooseFrame(user);
		}
		if(e.getSource() == btDltCopy){
			this.dispose();
			new DeleteCopy(user);
		}
		else if(e.getSource() == btDltDoc){
			this.dispose();
			new DeleteDoc(user);// need a class
		}
		else if(e.getSource() == btMdfDoc){
			try
			{
			String str = JOptionPane.showInputDialog("Please enter an item ID");

			new modifyDoc(user, str);
			}catch (NullPointerException exc)
			{
				return;
			}
		}
		else if(e.getSource() == btSearchDoc){
			
			new SearchFrame(user);
		}
		else if(e.getSource() == btR){
			this.dispose();
			new LibraryLogInFrame();
		}else if(e.getSource() == btRDoc){
			this.dispose();
			new ReturnInformationFrame(user);
		}
		
	}