private void c_MTPage(){
		c_MTPane = new JPanel();
		c_MTPane.setBackground(SystemColor.activeCaption);
		c_MTPane.setLayout(null);
		
		MTT_treat.setText("");
		MTT_fpp.setText("");
		MTC_bp.setSelected(false);
		
		JLabel lbl_MedicalTreatment = new JLabel("Medical Treatment");
		lbl_MedicalTreatment.setHorizontalAlignment(SwingConstants.CENTER);
		lbl_MedicalTreatment.setFont(new Font("Arial", Font.BOLD, 30));
		lbl_MedicalTreatment.setBounds(349, 20, 286, 47);
		c_MTPane.add(lbl_MedicalTreatment);

		MTTa_table.getSelectionModel().addListSelectionListener(new ListSelectionListener(){
			@Override
			public void valueChanged(ListSelectionEvent arg0) {
				if (MTTa_table.getSelectedRow()>=0){
					MTT_treat.setText((String) MTTa_table.getValueAt(MTTa_table.getSelectedRow(),0).toString());
					MTT_fpp.setText((String) MTTa_table.getValueAt(MTTa_table.getSelectedRow(),1).toString());
					if (MTTa_table.getValueAt(MTTa_table.getSelectedRow(),2).toString()=="Y")
						MTC_bp.setSelected(true);
					else
						MTC_bp.setSelected(false);
				}
			}});
		TreatmentMeta.addTable(db, MTTa_model);
		
		JLabel lbl_Treatment = new JLabel("Treatment :");
		lbl_Treatment.setHorizontalAlignment(SwingConstants.RIGHT);
		lbl_Treatment.setFont(new Font("Arial", Font.PLAIN, 20));
		lbl_Treatment.setBounds(63, 131, 112, 47);
		c_MTPane.add(lbl_Treatment);
		
		JLabel lbl_FeePerPart = new JLabel("Fee per part :");
		lbl_FeePerPart.setHorizontalAlignment(SwingConstants.RIGHT);
		lbl_FeePerPart.setFont(new Font("Arial", Font.PLAIN, 20));
		lbl_FeePerPart.setBounds(40, 237, 137, 47);
		c_MTPane.add(lbl_FeePerPart);

		JLabel lbl_BodyParts = new JLabel("Body parts :");
		lbl_BodyParts.setHorizontalAlignment(SwingConstants.RIGHT);
		lbl_BodyParts.setFont(new Font("Arial", Font.PLAIN, 20));
		lbl_BodyParts.setBounds(40, 350, 137, 47);
		c_MTPane.add(lbl_BodyParts);

		MTB_save.addActionListener(new ActionListener(){
			@Override
			public void actionPerformed(ActionEvent arg0) {
				if (cnt){
					cnt = false;
				if (MTTa_table.getSelectedRow()!=-1){
					//save
					db.getClinic().getTreatmentMeta(MTTa_table.getSelectedRow()).setType(MTT_treat.getText());
					db.getClinic().getTreatmentMeta(MTTa_table.getSelectedRow()).setFpp(Integer.parseInt(MTT_fpp.getText()));
					db.getClinic().getTreatmentMeta(MTTa_table.getSelectedRow()).setBodyPart(MTC_bp.isSelected());
					TreatmentMeta.addTable(db, MTTa_model);
					JOptionPane.showMessageDialog(null, "Treatment record saved.", "Treatment Record",JOptionPane.PLAIN_MESSAGE);
				} else{
					//new
					TreatmentMeta treatmentMeta = new TreatmentMeta(MTT_treat.getText(),Integer.parseInt(MTT_fpp.getText()),MTC_bp.isSelected());
					db.getClinic().addTreatmentMeta(treatmentMeta);
					TreatmentMeta.addTable(db, MTTa_model);
					JOptionPane.showMessageDialog(null, "Treatment record saved.", "Treatment Record",JOptionPane.PLAIN_MESSAGE);
				}
				} else{
					cnt = true;
				}
			}});
		
		MTB_add.addActionListener(new ActionListener(){
			@Override
			public void actionPerformed(ActionEvent arg0) {
				MTTa_table.clearSelection();
				MTT_treat.setText("");
				MTT_fpp.setText("");
				MTC_bp.setSelected(false);
			}});
		
		MTB_delete.addActionListener(new ActionListener(){
			@Override
			public void actionPerformed(ActionEvent e) {
				if (MTTa_table.getSelectedRow()!=-1){
					db.getClinic().deleteTreatmentMeta(MTTa_table.getSelectedRow());
					TreatmentMeta.addTable(db, MTTa_model);
					MTT_treat.setText("");
					MTT_fpp.setText("");
					MTC_bp.setSelected(false);
					JOptionPane.showMessageDialog(null, "Treatment record deleted.", "Treatment Record",JOptionPane.PLAIN_MESSAGE);
				}
			}});
	}