public void actionPerformed(ActionEvent e) {
		// TODO Auto-generated method stub
		if (e.getSource() == btReturn)
		this.dispose();
		else if(e.getSource() == btSubmit)
		{
			if(itemID.charAt(0)=='B')
			{
				book b = new book();
				b.modifying(itemID, tf3.getText(), tf4.getText(), tf2.getText(), tf5.getText(), tf6.getText(), tf9.getText(), tf8.getText(), tf10.getText());
				JOptionPane.showMessageDialog(this, "Update successfully!");
			}
			else if(itemID.charAt(0)=='M')
			{
				magezine m = new magezine();
				m.modifying(itemID, tf3.getText(), tf4.getText(), tf2.getText(), tf5.getText(), tf6.getText(), tf8.getText(), tf7.getText(), tf9.getText());
				JOptionPane.showMessageDialog(this, "Update successfully!");	
			}
			else if(itemID.charAt(0)=='T')
			{
				thesis t = new thesis();
				t.modifying(itemID, tf3.getText(), tf4.getText(), tf2.getText(), tf5.getText(), tf6.getText(), tf8.getText(), tf9.getText());
				JOptionPane.showMessageDialog(this, "Update successfully!");	
			}
			else if(itemID.charAt(0)=='R')
			{
				techReport r = new techReport();
				r.modifying(itemID, tf3.getText(), tf4.getText(), tf2.getText(), tf5.getText(), tf6.getText(), tf8.getText(), tf9.getText());
				JOptionPane.showMessageDialog(this, "Update successfully!");	
			}
			else if(itemID.charAt(0)=='J')
			{
				journal j = new journal();
				j.modifying(itemID, tf3.getText(), tf4.getText(), tf2.getText(), tf5.getText(), tf6.getText(), tf7.getText());
				JOptionPane.showMessageDialog(this, "Update successfully!");	
			}
		}
	}