import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.JTree;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JButton;
import javax.swing.JSplitPane;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;


public class Patient_Panel extends JPanel {

	/**
	 * Create the panel.
	 */
	public Patient_Panel() {
		setLayout(null);
		
		JLabel lblMenu = new JLabel("Patient Menu");
		lblMenu.setBounds(6, 6, 138, 16);
		lblMenu.setFont(new Font("Apple SD Gothic Neo", Font.BOLD, 20));
		add(lblMenu);
		
		JButton btnCreateForm = new JButton("Create Form");
		btnCreateForm.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				setVisible(false);
				MDGui.intializePatientCreateForm();
			}
		});
		btnCreateForm.setBounds(6, 44, 150, 29);
		add(btnCreateForm);
		
		JButton btnViewExistingForm = new JButton("View Existing Form");
		btnViewExistingForm.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				setVisible(false);
				MDGui.intializeExistingFormPatient();
			}
		});
		btnViewExistingForm.setBounds(6, 85, 150, 29);
		add(btnViewExistingForm);

	}
}

@@ -1,28 +1,29 @@
+%0A
 import javax.swing.JPanel;%0Ai
@@ -331,17 +331,16 @@
 Event;%0A%0A
-%0A
 public c
@@ -380,14 +380,20 @@
  %7B%0A%0A
-%09/**%0A%09
+    /**%0A    
  * C
@@ -413,14 +413,20 @@
 el.%0A
-%09 */%0A%09
+     */%0A    
 publ
@@ -446,18 +446,24 @@
 nel() %7B%0A
-%09%09
+        
 setLayou
@@ -471,21 +471,25 @@
 (null);%0A
-%09%09%0A%09%09
+%0A        
 JLabel l
@@ -525,18 +525,24 @@
 Menu%22);%0A
-%09%09
+        
 lblMenu.
@@ -567,18 +567,24 @@
 8, 16);%0A
-%09%09
+        
 lblMenu.
@@ -640,18 +640,24 @@
 , 20));%0A
-%09%09
+        
 add(lblM
@@ -662,21 +662,25 @@
 lMenu);%0A
-%09%09%0A%09%09
+%0A        
 JButton 
@@ -723,18 +723,24 @@
 Form%22);%0A
-%09%09
+        
 btnCreat
@@ -778,35 +778,44 @@
 ionListener() %7B%0A
-%09%09%09
+            
 public void acti
@@ -835,36 +835,48 @@
 ctionEvent e) %7B%0A
-%09%09%09%09
+                
 setVisible(false
@@ -870,36 +870,48 @@
 Visible(false);%0A
-%09%09%09%09
+                
 MDGui.intializeP
@@ -930,29 +930,50 @@
 Form();%0A
-%09%09%09%7D%0A%09%09%7D);%0A%09%09
+            %7D%0A        %7D);%0A        
 btnCreat
@@ -1001,26 +1001,32 @@
 , 150, 29);%0A
-%09%09
+        
 add(btnCreat
@@ -1037,13 +1037,17 @@
 m);%0A
-%09%09%0A%09%09
+%0A        
 JBut
@@ -1107,18 +1107,24 @@
 Form%22);%0A
-%09%09
+        
 btnViewE
@@ -1176,19 +1176,28 @@
 ner() %7B%0A
-%09%09%09
+            
 public v
@@ -1233,20 +1233,32 @@
 nt e) %7B%0A
-%09%09%09%09
+                
 setVisib
@@ -1272,12 +1272,24 @@
 e);%0A
-%09%09%09%09
+                
 MDGu
@@ -1326,21 +1326,42 @@
 ();%0A
-%09%09%09%7D%0A%09%09%7D);%0A%09%09
+            %7D%0A        %7D);%0A        
 btnV
@@ -1407,10 +1407,16 @@
 9);%0A
-%09%09
+        
 add(
@@ -1442,9 +1442,352 @@
 );%0A%0A
-%09
+        JButton btnLogout = new JButton(%22Logout%22);%0A        btnLogout.addActionListener(new ActionListener() %7B%0A            public void actionPerformed(ActionEvent e) %7B%0A                setVisible(false);%0A                MDGui.initializeLogin();%0A            %7D%0A        %7D);%0A        btnLogout.setBounds(6, 125, 150, 29);%0A        add(btnLogout);%0A%0A    
 %7D%0A%7D%0A

Update Patient_Panel.java