content: import java.awt.Color;
  import java.sql.SQLException;
  import java.util.logging.Level;
  import java.util.logging.Logger;
  
  /*
   * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
   * Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this template
   */
  /**
   *
   * @author ahmed
   */
  public class InstructorManag extends javax.swing.JFrame {
  
      /**
       * Creates new form InstructorManag
       */
      public InstructorManag() {
          initComponents();
          this.setLocationRelativeTo(null);
          TimeMenu.setVisible(false);
          MainMenu1.setVisible(false);
          CourseMenu.setVisible(false);
  
          SectionMenu.setVisible(false);
          ClassroomMenu.setVisible(false);
  
      }
  
      /**
       * This method is called from within the constructor to initialize the form.
       * WARNING: Do NOT modify this code. The content of this method is always
       * regenerated by the Form Editor.
       */
      @SuppressWarnings("unchecked")
      // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
      private void initComponents() {
  
          jPanel1 = new javax.swing.JPanel();
          TimeMenu = new javax.swing.JPanel();
          jPanel2 = new javax.swing.JPanel();
          b2 = new javax.swing.JLabel();
          jPanel4 = new javax.swing.JPanel();
          b3 = new javax.swing.JLabel();
          HideTimeMenu = new javax.swing.JPanel();
          b4 = new javax.swing.JLabel();
          menu = new javax.swing.JPanel();
          e2 = new javax.swing.JLabel();
          Coursebutton = new javax.swing.JPanel();
          e3 = new javax.swing.JLabel();
          MainMenu1 = new javax.swing.JPanel();
          deletestd = new javax.swing.JPanel();
          jLabel10 = new javax.swing.JLabel();
          addstd = new javax.swing.JPanel();
          jLabel11 = new javax.swing.JLabel();
          updatestd = new javax.swing.JPanel();
          jLabel12 = new javax.swing.JLabel();
          stdprofile = new javax.swing.JPanel();
          jLabel14 = new javax.swing.JLabel();
          stdcourse = new javax.swing.JPanel();
          jLabel4 = new javax.swing.JLabel();
          Hide1 = new javax.swing.JPanel();
          jLabel15 = new javax.swing.JLabel();
          CourseMenu = new javax.swing.JPanel();
          addcourse = new javax.swing.JPanel();
          a3 = new javax.swing.JLabel();
          deletecourse = new javax.swing.JPanel();
          a2 = new javax.swing.JLabel();
          updatecourse = new javax.swing.JPanel();
          a1 = new javax.swing.JLabel();
          HideCourseMenu = new javax.swing.JPanel();
          a7 = new javax.swing.JLabel();
          addcourse1 = new javax.swing.JPanel();
          a4 = new javax.swing.JLabel();
          Sectionbutton = new javax.swing.JPanel();
          e4 = new javax.swing.JLabel();
          Timebutton = new javax.swing.JPanel();
          e5 = new javax.swing.JLabel();
          ClassroomMenu = new javax.swing.JPanel();
          jPanel29 = new javax.swing.JPanel();
          r1 = new javax.swing.JLabel();
          jPanel31 = new javax.swing.JPanel();
          r3 = new javax.swing.JLabel();
          HideMarkMenu1 = new javax.swing.JPanel();
          r5 = new javax.swing.JLabel();
          addsectionclassroom = new javax.swing.JPanel();
          r4 = new javax.swing.JLabel();
          SectionMenu = new javax.swing.JPanel();
          jPanel33 = new javax.swing.JPanel();
          p1 = new javax.swing.JLabel();
          jPanel34 = new javax.swing.JPanel();
          p2 = new javax.swing.JLabel();
          jPanel35 = new javax.swing.JPanel();
          p3 = new javax.swing.JLabel();
          HideMarkMenu2 = new javax.swing.JPanel();
          p5 = new javax.swing.JLabel();
          Classroombutton = new javax.swing.JPanel();
          e7 = new javax.swing.JLabel();
          jLabel1 = new javax.swing.JLabel();
          jLabel2 = new javax.swing.JLabel();
          Departmentbutton1 = new javax.swing.JPanel();
          e8 = new javax.swing.JLabel();
  
          setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
  
          jPanel1.setBackground(new java.awt.Color(10, 50, 100));
          jPanel1.setPreferredSize(new java.awt.Dimension(900, 700));
  
          TimeMenu.setBackground(new java.awt.Color(173, 216, 230));
          TimeMenu.setPreferredSize(new java.awt.Dimension(220, 470));
  
          jPanel2.setBackground(new java.awt.Color(10, 50, 100));
          jPanel2.setPreferredSize(new java.awt.Dimension(180, 50));
          jPanel2.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseClicked(java.awt.event.MouseEvent evt) {
                  jPanel2MouseClicked(evt);
              }
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  jPanel2MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  jPanel2MouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  jPanel2MousePressed(evt);
              }
          });
  
          b2.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          b2.setForeground(new java.awt.Color(255, 255, 255));
          b2.setText("Add Time Table");
  
          javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
          jPanel2.setLayout(jPanel2Layout);
          jPanel2Layout.setHorizontalGroup(
              jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel2Layout.createSequentialGroup()
                  .addGap(21, 21, 21)
                  .addComponent(b2, javax.swing.GroupLayout.PREFERRED_SIZE, 129, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(30, Short.MAX_VALUE))
          );
          jPanel2Layout.setVerticalGroup(
              jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel2Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(b2)
                  .addContainerGap(22, Short.MAX_VALUE))
          );
  
          jPanel4.setBackground(new java.awt.Color(10, 50, 100));
          jPanel4.setPreferredSize(new java.awt.Dimension(180, 50));
          jPanel4.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  jPanel4MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  jPanel4MouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  jPanel4MousePressed(evt);
              }
          });
  
          b3.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          b3.setForeground(new java.awt.Color(255, 255, 255));
          b3.setText("Delete Time Table");
  
          javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
          jPanel4.setLayout(jPanel4Layout);
          jPanel4Layout.setHorizontalGroup(
              jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel4Layout.createSequentialGroup()
                  .addGap(20, 20, 20)
                  .addComponent(b3)
                  .addContainerGap(22, Short.MAX_VALUE))
          );
          jPanel4Layout.setVerticalGroup(
              jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel4Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(b3)
                  .addContainerGap(22, Short.MAX_VALUE))
          );
  
          HideTimeMenu.setBackground(new java.awt.Color(10, 50, 100));
          HideTimeMenu.setPreferredSize(new java.awt.Dimension(180, 50));
          HideTimeMenu.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseClicked(java.awt.event.MouseEvent evt) {
                  HideTimeMenuMouseClicked(evt);
              }
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  HideTimeMenuMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  HideTimeMenuMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  HideTimeMenuMousePressed(evt);
              }
          });
  
          b4.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          b4.setForeground(new java.awt.Color(255, 255, 255));
          b4.setText("Hide");
  
          javax.swing.GroupLayout HideTimeMenuLayout = new javax.swing.GroupLayout(HideTimeMenu);
          HideTimeMenu.setLayout(HideTimeMenuLayout);
          HideTimeMenuLayout.setHorizontalGroup(
              HideTimeMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(HideTimeMenuLayout.createSequentialGroup()
                  .addGap(65, 65, 65)
                  .addComponent(b4, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(78, Short.MAX_VALUE))
          );
          HideTimeMenuLayout.setVerticalGroup(
              HideTimeMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(HideTimeMenuLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(b4)
                  .addContainerGap(22, Short.MAX_VALUE))
          );
  
          javax.swing.GroupLayout TimeMenuLayout = new javax.swing.GroupLayout(TimeMenu);
          TimeMenu.setLayout(TimeMenuLayout);
          TimeMenuLayout.setHorizontalGroup(
              TimeMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(TimeMenuLayout.createSequentialGroup()
                  .addGap(12, 12, 12)
                  .addGroup(TimeMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                      .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(HideTimeMenu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                  .addContainerGap(16, Short.MAX_VALUE))
          );
          TimeMenuLayout.setVerticalGroup(
              TimeMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(TimeMenuLayout.createSequentialGroup()
                  .addGap(53, 53, 53)
                  .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(HideTimeMenu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
  
          menu.setBackground(new java.awt.Color(0, 64, 128));
          menu.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseClicked(java.awt.event.MouseEvent evt) {
                  menuMouseClicked(evt);
              }
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  menuMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  menuMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  menuMousePressed(evt);
              }
          });
  
          e2.setBackground(new java.awt.Color(204, 204, 204));
          e2.setFont(new java.awt.Font("Segoe UI", 1, 18)); // NOI18N
          e2.setForeground(new java.awt.Color(255, 255, 255));
          e2.setText("Student Managment");
  
          javax.swing.GroupLayout menuLayout = new javax.swing.GroupLayout(menu);
          menu.setLayout(menuLayout);
          menuLayout.setHorizontalGroup(
              menuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(menuLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(e2, javax.swing.GroupLayout.PREFERRED_SIZE, 185, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(28, Short.MAX_VALUE))
          );
          menuLayout.setVerticalGroup(
              menuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, menuLayout.createSequentialGroup()
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                  .addComponent(e2)
                  .addContainerGap())
          );
  
          Coursebutton.setBackground(new java.awt.Color(0, 64, 128));
          Coursebutton.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  CoursebuttonMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  CoursebuttonMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  CoursebuttonMousePressed(evt);
              }
          });
  
          e3.setFont(new java.awt.Font("Segoe UI", 1, 18)); // NOI18N
          e3.setForeground(new java.awt.Color(255, 255, 255));
          e3.setText("Course Managment");
  
          javax.swing.GroupLayout CoursebuttonLayout = new javax.swing.GroupLayout(Coursebutton);
          Coursebutton.setLayout(CoursebuttonLayout);
          CoursebuttonLayout.setHorizontalGroup(
              CoursebuttonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(CoursebuttonLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(e3)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
          CoursebuttonLayout.setVerticalGroup(
              CoursebuttonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(CoursebuttonLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(e3)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
  
          MainMenu1.setBackground(new java.awt.Color(173, 216, 230));
          MainMenu1.setPreferredSize(new java.awt.Dimension(220, 470));
  
          deletestd.setBackground(new java.awt.Color(10, 50, 100));
          deletestd.setPreferredSize(new java.awt.Dimension(120, 40));
          deletestd.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  deletestdMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  deletestdMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  deletestdMousePressed(evt);
              }
          });
  
          jLabel10.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          jLabel10.setForeground(new java.awt.Color(255, 255, 255));
          jLabel10.setText("Delete Student");
  
          javax.swing.GroupLayout deletestdLayout = new javax.swing.GroupLayout(deletestd);
          deletestd.setLayout(deletestdLayout);
          deletestdLayout.setHorizontalGroup(
              deletestdLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(deletestdLayout.createSequentialGroup()
                  .addGap(14, 14, 14)
                  .addComponent(jLabel10)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
          deletestdLayout.setVerticalGroup(
              deletestdLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(deletestdLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(jLabel10)
                  .addContainerGap(12, Short.MAX_VALUE))
          );
  
          addstd.setBackground(new java.awt.Color(10, 50, 100));
          addstd.setPreferredSize(new java.awt.Dimension(120, 40));
          addstd.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseClicked(java.awt.event.MouseEvent evt) {
                  addstdMouseClicked(evt);
              }
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  addstdMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  addstdMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  addstdMousePressed(evt);
              }
          });
  
          jLabel11.setBackground(new java.awt.Color(173, 216, 230));
          jLabel11.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          jLabel11.setForeground(new java.awt.Color(255, 255, 255));
          jLabel11.setText("Add Student");
  
          javax.swing.GroupLayout addstdLayout = new javax.swing.GroupLayout(addstd);
          addstd.setLayout(addstdLayout);
          addstdLayout.setHorizontalGroup(
              addstdLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(addstdLayout.createSequentialGroup()
                  .addGap(15, 15, 15)
                  .addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
          addstdLayout.setVerticalGroup(
              addstdLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(addstdLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(jLabel11)
                  .addContainerGap(12, Short.MAX_VALUE))
          );
  
          updatestd.setBackground(new java.awt.Color(10, 50, 100));
          updatestd.setPreferredSize(new java.awt.Dimension(120, 40));
          updatestd.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  updatestdMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  updatestdMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  updatestdMousePressed(evt);
              }
          });
  
          jLabel12.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          jLabel12.setForeground(new java.awt.Color(255, 255, 255));
          jLabel12.setText("Update Student");
  
          javax.swing.GroupLayout updatestdLayout = new javax.swing.GroupLayout(updatestd);
          updatestd.setLayout(updatestdLayout);
          updatestdLayout.setHorizontalGroup(
              updatestdLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(updatestdLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(jLabel12)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
          updatestdLayout.setVerticalGroup(
              updatestdLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(updatestdLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(jLabel12)
                  .addContainerGap(12, Short.MAX_VALUE))
          );
  
          stdprofile.setBackground(new java.awt.Color(10, 50, 100));
          stdprofile.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  stdprofileMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  stdprofileMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  stdprofileMousePressed(evt);
              }
          });
  
          jLabel14.setBackground(new java.awt.Color(0, 0, 0));
          jLabel14.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          jLabel14.setForeground(new java.awt.Color(255, 255, 255));
          jLabel14.setText("Student Profile");
          jLabel14.setPreferredSize(new java.awt.Dimension(120, 40));
          jLabel14.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  jLabel14MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  jLabel14MouseExited(evt);
              }
          });
  
          javax.swing.GroupLayout stdprofileLayout = new javax.swing.GroupLayout(stdprofile);
          stdprofile.setLayout(stdprofileLayout);
          stdprofileLayout.setHorizontalGroup(
              stdprofileLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(stdprofileLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(jLabel14, javax.swing.GroupLayout.PREFERRED_SIZE, 124, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(21, Short.MAX_VALUE))
          );
          stdprofileLayout.setVerticalGroup(
              stdprofileLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(stdprofileLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(jLabel14, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(13, Short.MAX_VALUE))
          );
  
          stdcourse.setBackground(new java.awt.Color(10, 50, 100));
          stdcourse.setPreferredSize(new java.awt.Dimension(120, 40));
          stdcourse.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  stdcourseMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  stdcourseMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  stdcourseMousePressed(evt);
              }
          });
  
          jLabel4.setBackground(new java.awt.Color(255, 255, 255));
          jLabel4.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          jLabel4.setForeground(new java.awt.Color(255, 255, 255));
          jLabel4.setText("Student Course");
  
          javax.swing.GroupLayout stdcourseLayout = new javax.swing.GroupLayout(stdcourse);
          stdcourse.setLayout(stdcourseLayout);
          stdcourseLayout.setHorizontalGroup(
              stdcourseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(stdcourseLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(jLabel4)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
          stdcourseLayout.setVerticalGroup(
              stdcourseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(stdcourseLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(jLabel4)
                  .addContainerGap(8, Short.MAX_VALUE))
          );
  
          Hide1.setBackground(new java.awt.Color(10, 50, 100));
          Hide1.setPreferredSize(new java.awt.Dimension(120, 40));
          Hide1.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseClicked(java.awt.event.MouseEvent evt) {
                  Hide1MouseClicked(evt);
              }
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  Hide1MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  Hide1MouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  Hide1MousePressed(evt);
              }
          });
  
          jLabel15.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          jLabel15.setForeground(new java.awt.Color(255, 255, 255));
          jLabel15.setText("Hide");
  
          javax.swing.GroupLayout Hide1Layout = new javax.swing.GroupLayout(Hide1);
          Hide1.setLayout(Hide1Layout);
          Hide1Layout.setHorizontalGroup(
              Hide1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(Hide1Layout.createSequentialGroup()
                  .addGap(47, 47, 47)
                  .addComponent(jLabel15, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
          Hide1Layout.setVerticalGroup(
              Hide1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(Hide1Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(jLabel15)
                  .addContainerGap(16, Short.MAX_VALUE))
          );
  
          javax.swing.GroupLayout MainMenu1Layout = new javax.swing.GroupLayout(MainMenu1);
          MainMenu1.setLayout(MainMenu1Layout);
          MainMenu1Layout.setHorizontalGroup(
              MainMenu1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, MainMenu1Layout.createSequentialGroup()
                  .addContainerGap(28, Short.MAX_VALUE)
                  .addGroup(MainMenu1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                      .addComponent(Hide1, javax.swing.GroupLayout.DEFAULT_SIZE, 151, Short.MAX_VALUE)
                      .addComponent(deletestd, javax.swing.GroupLayout.DEFAULT_SIZE, 151, Short.MAX_VALUE)
                      .addComponent(stdprofile, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(stdcourse, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 151, Short.MAX_VALUE)
                      .addComponent(updatestd, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 151, Short.MAX_VALUE)
                      .addComponent(addstd, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 151, Short.MAX_VALUE))
                  .addGap(41, 41, 41))
          );
          MainMenu1Layout.setVerticalGroup(
              MainMenu1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(MainMenu1Layout.createSequentialGroup()
                  .addGap(56, 56, 56)
                  .addComponent(stdprofile, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(addstd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                  .addComponent(updatestd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                  .addComponent(deletestd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(stdcourse, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(Hide1, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
  
          CourseMenu.setBackground(new java.awt.Color(173, 216, 230));
          CourseMenu.setPreferredSize(new java.awt.Dimension(220, 470));
  
          addcourse.setBackground(new java.awt.Color(10, 50, 100));
          addcourse.setPreferredSize(new java.awt.Dimension(140, 50));
          addcourse.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  addcourseMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  addcourseMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  addcourseMousePressed(evt);
              }
          });
  
          a3.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          a3.setForeground(new java.awt.Color(255, 255, 255));
          a3.setText("Add Course");
  
          javax.swing.GroupLayout addcourseLayout = new javax.swing.GroupLayout(addcourse);
          addcourse.setLayout(addcourseLayout);
          addcourseLayout.setHorizontalGroup(
              addcourseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, addcourseLayout.createSequentialGroup()
                  .addContainerGap(14, Short.MAX_VALUE)
                  .addComponent(a3, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addGap(28, 28, 28))
          );
          addcourseLayout.setVerticalGroup(
              addcourseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, addcourseLayout.createSequentialGroup()
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                  .addComponent(a3)
                  .addGap(52, 52, 52))
          );
  
          deletecourse.setBackground(new java.awt.Color(10, 50, 100));
          deletecourse.setPreferredSize(new java.awt.Dimension(140, 50));
          deletecourse.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  deletecourseMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  deletecourseMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  deletecourseMousePressed(evt);
              }
          });
  
          a2.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          a2.setForeground(new java.awt.Color(255, 255, 255));
          a2.setText("Delete Course");
  
          javax.swing.GroupLayout deletecourseLayout = new javax.swing.GroupLayout(deletecourse);
          deletecourse.setLayout(deletecourseLayout);
          deletecourseLayout.setHorizontalGroup(
              deletecourseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(deletecourseLayout.createSequentialGroup()
                  .addGap(16, 16, 16)
                  .addComponent(a2, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
          deletecourseLayout.setVerticalGroup(
              deletecourseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, deletecourseLayout.createSequentialGroup()
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                  .addComponent(a2)
                  .addGap(17, 17, 17))
          );
  
          updatecourse.setBackground(new java.awt.Color(10, 50, 100));
          updatecourse.setPreferredSize(new java.awt.Dimension(140, 50));
          updatecourse.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  updatecourseMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  updatecourseMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  updatecourseMousePressed(evt);
              }
          });
  
          a1.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          a1.setForeground(new java.awt.Color(255, 255, 255));
          a1.setText("Update course");
  
          javax.swing.GroupLayout updatecourseLayout = new javax.swing.GroupLayout(updatecourse);
          updatecourse.setLayout(updatecourseLayout);
          updatecourseLayout.setHorizontalGroup(
              updatecourseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(updatecourseLayout.createSequentialGroup()
                  .addGap(17, 17, 17)
                  .addComponent(a1)
                  .addContainerGap(14, Short.MAX_VALUE))
          );
          updatecourseLayout.setVerticalGroup(
              updatecourseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, updatecourseLayout.createSequentialGroup()
                  .addContainerGap(12, Short.MAX_VALUE)
                  .addComponent(a1)
                  .addGap(16, 16, 16))
          );
  
          HideCourseMenu.setBackground(new java.awt.Color(10, 50, 100));
          HideCourseMenu.setPreferredSize(new java.awt.Dimension(140, 50));
          HideCourseMenu.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseClicked(java.awt.event.MouseEvent evt) {
                  HideCourseMenuMouseClicked(evt);
              }
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  HideCourseMenuMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  HideCourseMenuMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  HideCourseMenuMousePressed(evt);
              }
          });
  
          a7.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          a7.setForeground(new java.awt.Color(255, 255, 255));
          a7.setText("Hide");
  
          javax.swing.GroupLayout HideCourseMenuLayout = new javax.swing.GroupLayout(HideCourseMenu);
          HideCourseMenu.setLayout(HideCourseMenuLayout);
          HideCourseMenuLayout.setHorizontalGroup(
              HideCourseMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(HideCourseMenuLayout.createSequentialGroup()
                  .addGap(46, 46, 46)
                  .addComponent(a7, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(57, Short.MAX_VALUE))
          );
          HideCourseMenuLayout.setVerticalGroup(
              HideCourseMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(HideCourseMenuLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(a7)
                  .addContainerGap(22, Short.MAX_VALUE))
          );
  
          addcourse1.setBackground(new java.awt.Color(10, 50, 100));
          addcourse1.setPreferredSize(new java.awt.Dimension(140, 50));
          addcourse1.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  addcourse1MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  addcourse1MouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  addcourse1MousePressed(evt);
              }
          });
  
          a4.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          a4.setForeground(new java.awt.Color(255, 255, 255));
          a4.setText("Add STD course");
  
          javax.swing.GroupLayout addcourse1Layout = new javax.swing.GroupLayout(addcourse1);
          addcourse1.setLayout(addcourse1Layout);
          addcourse1Layout.setHorizontalGroup(
              addcourse1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(addcourse1Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(a4, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(14, Short.MAX_VALUE))
          );
          addcourse1Layout.setVerticalGroup(
              addcourse1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, addcourse1Layout.createSequentialGroup()
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                  .addComponent(a4)
                  .addGap(52, 52, 52))
          );
  
          javax.swing.GroupLayout CourseMenuLayout = new javax.swing.GroupLayout(CourseMenu);
          CourseMenu.setLayout(CourseMenuLayout);
          CourseMenuLayout.setHorizontalGroup(
              CourseMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(CourseMenuLayout.createSequentialGroup()
                  .addGap(31, 31, 31)
                  .addGroup(CourseMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                      .addGroup(CourseMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                          .addComponent(updatecourse, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                          .addComponent(deletecourse, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                          .addComponent(addcourse, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                      .addGroup(CourseMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                          .addComponent(addcourse1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                          .addComponent(HideCourseMenu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                  .addContainerGap(49, Short.MAX_VALUE))
          );
          CourseMenuLayout.setVerticalGroup(
              CourseMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(CourseMenuLayout.createSequentialGroup()
                  .addGap(57, 57, 57)
                  .addComponent(addcourse, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(updatecourse, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(deletecourse, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                  .addComponent(addcourse1, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(HideCourseMenu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
  
          Sectionbutton.setBackground(new java.awt.Color(0, 64, 128));
          Sectionbutton.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  SectionbuttonMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  SectionbuttonMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  SectionbuttonMousePressed(evt);
              }
          });
  
          e4.setFont(new java.awt.Font("Segoe UI", 1, 18)); // NOI18N
          e4.setForeground(new java.awt.Color(255, 255, 255));
          e4.setText(" Section Managment");
          e4.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  e4MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  e4MouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  e4MousePressed(evt);
              }
          });
  
          javax.swing.GroupLayout SectionbuttonLayout = new javax.swing.GroupLayout(Sectionbutton);
          Sectionbutton.setLayout(SectionbuttonLayout);
          SectionbuttonLayout.setHorizontalGroup(
              SectionbuttonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(SectionbuttonLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(e4, javax.swing.GroupLayout.PREFERRED_SIZE, 184, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
          SectionbuttonLayout.setVerticalGroup(
              SectionbuttonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, SectionbuttonLayout.createSequentialGroup()
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                  .addComponent(e4)
                  .addContainerGap())
          );
  
          Timebutton.setBackground(new java.awt.Color(0, 64, 128));
          Timebutton.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  TimebuttonMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  TimebuttonMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  TimebuttonMousePressed(evt);
              }
          });
  
          e5.setFont(new java.awt.Font("Segoe UI", 1, 18)); // NOI18N
          e5.setForeground(new java.awt.Color(255, 255, 255));
          e5.setText("Time Table");
  
          javax.swing.GroupLayout TimebuttonLayout = new javax.swing.GroupLayout(Timebutton);
          Timebutton.setLayout(TimebuttonLayout);
          TimebuttonLayout.setHorizontalGroup(
              TimebuttonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(TimebuttonLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(e5, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
          TimebuttonLayout.setVerticalGroup(
              TimebuttonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, TimebuttonLayout.createSequentialGroup()
                  .addGap(0, 14, Short.MAX_VALUE)
                  .addComponent(e5))
          );
  
          ClassroomMenu.setBackground(new java.awt.Color(173, 216, 230));
          ClassroomMenu.setPreferredSize(new java.awt.Dimension(220, 470));
  
          jPanel29.setBackground(new java.awt.Color(10, 50, 100));
          jPanel29.setPreferredSize(new java.awt.Dimension(150, 50));
          jPanel29.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  jPanel29MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  jPanel29MouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  jPanel29MousePressed(evt);
              }
          });
  
          r1.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          r1.setForeground(new java.awt.Color(255, 255, 255));
          r1.setText("Add Classroom");
  
          javax.swing.GroupLayout jPanel29Layout = new javax.swing.GroupLayout(jPanel29);
          jPanel29.setLayout(jPanel29Layout);
          jPanel29Layout.setHorizontalGroup(
              jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel29Layout.createSequentialGroup()
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                  .addComponent(r1, javax.swing.GroupLayout.PREFERRED_SIZE, 122, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addGap(37, 37, 37))
          );
          jPanel29Layout.setVerticalGroup(
              jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel29Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(r1)
                  .addContainerGap(22, Short.MAX_VALUE))
          );
  
          jPanel31.setBackground(new java.awt.Color(10, 50, 100));
          jPanel31.setPreferredSize(new java.awt.Dimension(150, 50));
          jPanel31.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  jPanel31MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  jPanel31MouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  jPanel31MousePressed(evt);
              }
          });
  
          r3.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          r3.setForeground(new java.awt.Color(255, 255, 255));
          r3.setText("Delete Classroom");
  
          javax.swing.GroupLayout jPanel31Layout = new javax.swing.GroupLayout(jPanel31);
          jPanel31.setLayout(jPanel31Layout);
          jPanel31Layout.setHorizontalGroup(
              jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel31Layout.createSequentialGroup()
                  .addGap(35, 35, 35)
                  .addComponent(r3)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
          jPanel31Layout.setVerticalGroup(
              jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel31Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(r3)
                  .addContainerGap(22, Short.MAX_VALUE))
          );
  
          HideMarkMenu1.setBackground(new java.awt.Color(10, 50, 100));
          HideMarkMenu1.setPreferredSize(new java.awt.Dimension(150, 50));
          HideMarkMenu1.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseClicked(java.awt.event.MouseEvent evt) {
                  HideMarkMenu1MouseClicked(evt);
              }
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  HideMarkMenu1MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  HideMarkMenu1MouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  HideMarkMenu1MousePressed(evt);
              }
          });
  
          r5.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          r5.setForeground(new java.awt.Color(255, 255, 255));
          r5.setText("Hide");
  
          javax.swing.GroupLayout HideMarkMenu1Layout = new javax.swing.GroupLayout(HideMarkMenu1);
          HideMarkMenu1.setLayout(HideMarkMenu1Layout);
          HideMarkMenu1Layout.setHorizontalGroup(
              HideMarkMenu1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, HideMarkMenu1Layout.createSequentialGroup()
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                  .addComponent(r5, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addGap(85, 85, 85))
          );
          HideMarkMenu1Layout.setVerticalGroup(
              HideMarkMenu1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(HideMarkMenu1Layout.createSequentialGroup()
                  .addComponent(r5)
                  .addGap(0, 21, Short.MAX_VALUE))
          );
  
          addsectionclassroom.setBackground(new java.awt.Color(10, 50, 100));
          addsectionclassroom.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  addsectionclassroomMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  addsectionclassroomMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  addsectionclassroomMousePressed(evt);
              }
          });
  
          r4.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          r4.setForeground(new java.awt.Color(255, 255, 255));
          r4.setText("Add Section Classroom");
  
          javax.swing.GroupLayout addsectionclassroomLayout = new javax.swing.GroupLayout(addsectionclassroom);
          addsectionclassroom.setLayout(addsectionclassroomLayout);
          addsectionclassroomLayout.setHorizontalGroup(
              addsectionclassroomLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, addsectionclassroomLayout.createSequentialGroup()
                  .addContainerGap(18, Short.MAX_VALUE)
                  .addComponent(r4)
                  .addGap(16, 16, 16))
          );
          addsectionclassroomLayout.setVerticalGroup(
              addsectionclassroomLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(addsectionclassroomLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(r4)
                  .addContainerGap(23, Short.MAX_VALUE))
          );
  
          javax.swing.GroupLayout ClassroomMenuLayout = new javax.swing.GroupLayout(ClassroomMenu);
          ClassroomMenu.setLayout(ClassroomMenuLayout);
          ClassroomMenuLayout.setHorizontalGroup(
              ClassroomMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(ClassroomMenuLayout.createSequentialGroup()
                  .addContainerGap()
                  .addGroup(ClassroomMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                      .addComponent(HideMarkMenu1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 208, Short.MAX_VALUE)
                      .addComponent(addsectionclassroom, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                      .addComponent(jPanel31, javax.swing.GroupLayout.DEFAULT_SIZE, 208, Short.MAX_VALUE)
                      .addComponent(jPanel29, javax.swing.GroupLayout.DEFAULT_SIZE, 208, Short.MAX_VALUE))
                  .addContainerGap())
          );
          ClassroomMenuLayout.setVerticalGroup(
              ClassroomMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(ClassroomMenuLayout.createSequentialGroup()
                  .addGap(73, 73, 73)
                  .addComponent(jPanel29, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(jPanel31, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(addsectionclassroom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(HideMarkMenu1, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
  
          SectionMenu.setBackground(new java.awt.Color(173, 216, 230));
          SectionMenu.setPreferredSize(new java.awt.Dimension(220, 470));
  
          jPanel33.setBackground(new java.awt.Color(10, 50, 100));
          jPanel33.setPreferredSize(new java.awt.Dimension(150, 50));
          jPanel33.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  jPanel33MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  jPanel33MouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  jPanel33MousePressed(evt);
              }
          });
  
          p1.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          p1.setForeground(new java.awt.Color(255, 255, 255));
          p1.setText("Add Section");
          p1.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  p1MouseEntered(evt);
              }
          });
  
          javax.swing.GroupLayout jPanel33Layout = new javax.swing.GroupLayout(jPanel33);
          jPanel33.setLayout(jPanel33Layout);
          jPanel33Layout.setHorizontalGroup(
              jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel33Layout.createSequentialGroup()
                  .addGap(20, 20, 20)
                  .addComponent(p1, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(30, Short.MAX_VALUE))
          );
          jPanel33Layout.setVerticalGroup(
              jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel33Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(p1)
                  .addContainerGap(22, Short.MAX_VALUE))
          );
  
          jPanel34.setBackground(new java.awt.Color(10, 50, 100));
          jPanel34.setPreferredSize(new java.awt.Dimension(150, 50));
          jPanel34.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseClicked(java.awt.event.MouseEvent evt) {
                  jPanel34MouseClicked(evt);
              }
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  jPanel34MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  jPanel34MouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  jPanel34MousePressed(evt);
              }
          });
  
          p2.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          p2.setForeground(new java.awt.Color(255, 255, 255));
          p2.setText("Update Section");
  
          javax.swing.GroupLayout jPanel34Layout = new javax.swing.GroupLayout(jPanel34);
          jPanel34.setLayout(jPanel34Layout);
          jPanel34Layout.setHorizontalGroup(
              jPanel34Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel34Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(p2, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(21, Short.MAX_VALUE))
          );
          jPanel34Layout.setVerticalGroup(
              jPanel34Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel34Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(p2)
                  .addContainerGap(22, Short.MAX_VALUE))
          );
  
          jPanel35.setBackground(new java.awt.Color(10, 50, 100));
          jPanel35.setPreferredSize(new java.awt.Dimension(150, 50));
          jPanel35.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  jPanel35MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  jPanel35MouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  jPanel35MousePressed(evt);
              }
          });
  
          p3.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          p3.setForeground(new java.awt.Color(255, 255, 255));
          p3.setText("Delete Section");
  
          javax.swing.GroupLayout jPanel35Layout = new javax.swing.GroupLayout(jPanel35);
          jPanel35.setLayout(jPanel35Layout);
          jPanel35Layout.setHorizontalGroup(
              jPanel35Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel35Layout.createSequentialGroup()
                  .addGap(18, 18, 18)
                  .addComponent(p3)
                  .addContainerGap(22, Short.MAX_VALUE))
          );
          jPanel35Layout.setVerticalGroup(
              jPanel35Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel35Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(p3)
                  .addContainerGap(22, Short.MAX_VALUE))
          );
  
          HideMarkMenu2.setBackground(new java.awt.Color(10, 50, 100));
          HideMarkMenu2.setPreferredSize(new java.awt.Dimension(150, 50));
          HideMarkMenu2.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseClicked(java.awt.event.MouseEvent evt) {
                  HideMarkMenu2MouseClicked(evt);
              }
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  HideMarkMenu2MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  HideMarkMenu2MouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  HideMarkMenu2MousePressed(evt);
              }
          });
  
          p5.setFont(new java.awt.Font("Segoe UI", 1, 16)); // NOI18N
          p5.setForeground(new java.awt.Color(255, 255, 255));
          p5.setText("Hide");
  
          javax.swing.GroupLayout HideMarkMenu2Layout = new javax.swing.GroupLayout(HideMarkMenu2);
          HideMarkMenu2.setLayout(HideMarkMenu2Layout);
          HideMarkMenu2Layout.setHorizontalGroup(
              HideMarkMenu2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(HideMarkMenu2Layout.createSequentialGroup()
                  .addGap(53, 53, 53)
                  .addComponent(p5, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(60, Short.MAX_VALUE))
          );
          HideMarkMenu2Layout.setVerticalGroup(
              HideMarkMenu2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(HideMarkMenu2Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(p5)
                  .addContainerGap(22, Short.MAX_VALUE))
          );
  
          javax.swing.GroupLayout SectionMenuLayout = new javax.swing.GroupLayout(SectionMenu);
          SectionMenu.setLayout(SectionMenuLayout);
          SectionMenuLayout.setHorizontalGroup(
              SectionMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(SectionMenuLayout.createSequentialGroup()
                  .addGap(31, 31, 31)
                  .addGroup(SectionMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                      .addComponent(jPanel33, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(jPanel34, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(jPanel35, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                      .addComponent(HideMarkMenu2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                  .addContainerGap(39, Short.MAX_VALUE))
          );
          SectionMenuLayout.setVerticalGroup(
              SectionMenuLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(SectionMenuLayout.createSequentialGroup()
                  .addGap(63, 63, 63)
                  .addComponent(jPanel33, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(jPanel34, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(jPanel35, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(HideMarkMenu2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
  
          Classroombutton.setBackground(new java.awt.Color(0, 64, 128));
          Classroombutton.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  ClassroombuttonMouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  ClassroombuttonMouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  ClassroombuttonMousePressed(evt);
              }
          });
  
          e7.setFont(new java.awt.Font("Segoe UI", 1, 18)); // NOI18N
          e7.setForeground(new java.awt.Color(255, 255, 255));
          e7.setText("Classroom Management");
  
          javax.swing.GroupLayout ClassroombuttonLayout = new javax.swing.GroupLayout(Classroombutton);
          Classroombutton.setLayout(ClassroombuttonLayout);
          ClassroombuttonLayout.setHorizontalGroup(
              ClassroombuttonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(ClassroombuttonLayout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(e7)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
          ClassroombuttonLayout.setVerticalGroup(
              ClassroombuttonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, ClassroombuttonLayout.createSequentialGroup()
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                  .addComponent(e7)
                  .addGap(8, 8, 8))
          );
  
          jLabel2.setIcon(new javax.swing.ImageIcon("C:\\Users\\ahmed\\OneDrive\\Desktop\\download-removebg-preview (1) - Copy.png")); // NOI18N
  
          Departmentbutton1.setBackground(new java.awt.Color(0, 64, 128));
          Departmentbutton1.addMouseListener(new java.awt.event.MouseAdapter() {
              public void mouseEntered(java.awt.event.MouseEvent evt) {
                  Departmentbutton1MouseEntered(evt);
              }
              public void mouseExited(java.awt.event.MouseEvent evt) {
                  Departmentbutton1MouseExited(evt);
              }
              public void mousePressed(java.awt.event.MouseEvent evt) {
                  Departmentbutton1MousePressed(evt);
              }
          });
  
          e8.setFont(new java.awt.Font("Segoe UI", 1, 18)); // NOI18N
          e8.setForeground(new java.awt.Color(255, 255, 255));
          e8.setText("Exit");
  
          javax.swing.GroupLayout Departmentbutton1Layout = new javax.swing.GroupLayout(Departmentbutton1);
          Departmentbutton1.setLayout(Departmentbutton1Layout);
          Departmentbutton1Layout.setHorizontalGroup(
              Departmentbutton1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(Departmentbutton1Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(e8, javax.swing.GroupLayout.PREFERRED_SIZE, 189, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
          );
          Departmentbutton1Layout.setVerticalGroup(
              Departmentbutton1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, Departmentbutton1Layout.createSequentialGroup()
                  .addContainerGap()
                  .addComponent(e8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                  .addContainerGap())
          );
  
          javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
          jPanel1.setLayout(jPanel1Layout);
          jPanel1Layout.setHorizontalGroup(
              jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addGroup(jPanel1Layout.createSequentialGroup()
                  .addComponent(MainMenu1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(CourseMenu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(TimeMenu, javax.swing.GroupLayout.PREFERRED_SIZE, 208, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(SectionMenu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(ClassroomMenu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addGap(30, 30, 30)
                  .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                      .addGroup(jPanel1Layout.createSequentialGroup()
                          .addComponent(menu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                          .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                          .addComponent(jLabel1)
                          .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 165, Short.MAX_VALUE)
                          .addComponent(jLabel2))
                      .addGroup(jPanel1Layout.createSequentialGroup()
                          .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                              .addComponent(Classroombutton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(Sectionbutton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(Timebutton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(Coursebutton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                              .addComponent(Departmentbutton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                          .addGap(0, 0, Short.MAX_VALUE)))
                  .addContainerGap())
          );
          jPanel1Layout.setVerticalGroup(
              jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addComponent(MainMenu1, javax.swing.GroupLayout.DEFAULT_SIZE, 643, Short.MAX_VALUE)
              .addComponent(CourseMenu, javax.swing.GroupLayout.DEFAULT_SIZE, 643, Short.MAX_VALUE)
              .addComponent(SectionMenu, javax.swing.GroupLayout.DEFAULT_SIZE, 643, Short.MAX_VALUE)
              .addGroup(jPanel1Layout.createSequentialGroup()
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                  .addComponent(jLabel2)
                  .addGap(487, 487, 487))
              .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                  .addGap(19, 19, 19)
                  .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(menu, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(Coursebutton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(Timebutton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(Sectionbutton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(Classroombutton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                  .addComponent(Departmentbutton1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                  .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
              .addComponent(ClassroomMenu, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 643, Short.MAX_VALUE)
              .addComponent(TimeMenu, javax.swing.GroupLayout.DEFAULT_SIZE, 643, Short.MAX_VALUE)
          );
  
          javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
          getContentPane().setLayout(layout);
          layout.setHorizontalGroup(
              layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 1688, Short.MAX_VALUE)
          );
          layout.setVerticalGroup(
              layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 637, Short.MAX_VALUE)
          );
  
          pack();
      }// </editor-fold>//GEN-END:initComponents
  
      private void jPanel2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel2MouseClicked
          // TODO add your handling code here:
  
      }//GEN-LAST:event_jPanel2MouseClicked
  
      private void jPanel2MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel2MouseEntered
          // Change background color on hover
          b2.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_jPanel2MouseEntered
  
      private void jPanel2MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel2MouseExited
  
          b2.setForeground(Color.WHITE);
      }//GEN-LAST:event_jPanel2MouseExited
  
      private void jPanel4MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel4MouseEntered
  
          b3.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_jPanel4MouseEntered
  
      private void jPanel4MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel4MouseExited
  
          b3.setForeground(Color.WHITE);
      }//GEN-LAST:event_jPanel4MouseExited
  
      private void HideTimeMenuMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideTimeMenuMouseClicked
          // TODO add your handling code here:
      }//GEN-LAST:event_HideTimeMenuMouseClicked
  
      private void HideTimeMenuMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideTimeMenuMouseEntered
          // TODO add your handling code here:
          b4.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_HideTimeMenuMouseEntered
  
      private void HideTimeMenuMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideTimeMenuMouseExited
          // TODO add your handling code here:
          b4.setForeground(Color.WHITE);
      }//GEN-LAST:event_HideTimeMenuMouseExited
  
      private void HideTimeMenuMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideTimeMenuMousePressed
  
          TimeMenu.setVisible(false);
          Timebutton.setVisible(true);
  
      }//GEN-LAST:event_HideTimeMenuMousePressed
  
      private void menuMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_menuMouseClicked
  
      }//GEN-LAST:event_menuMouseClicked
  
      private void menuMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_menuMouseEntered
          // TODO add your handling code here:
          e2.setForeground(new java.awt.Color(173, 216, 230));
  
      }//GEN-LAST:event_menuMouseEntered
  
      private void menuMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_menuMouseExited
          // TODO add your handling code here:
          e2.setForeground(Color.WHITE);
      }//GEN-LAST:event_menuMouseExited
  
      private void menuMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_menuMousePressed
  
          TimeMenu.setVisible(false);
          MainMenu1.setVisible(true);
          CourseMenu.setVisible(false);
  
          SectionMenu.setVisible(false);
          ClassroomMenu.setVisible(false);
  
          Classroombutton.setVisible(true);
  
          Timebutton.setVisible(true);
          menu.setVisible(true);
          Coursebutton.setVisible(true);
          Sectionbutton.setVisible(true);
      }//GEN-LAST:event_menuMousePressed
  
      private void CoursebuttonMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CoursebuttonMouseEntered
          // TODO add your handling code here:
          e3.setForeground(new java.awt.Color(173, 216, 230));
  
      }//GEN-LAST:event_CoursebuttonMouseEntered
  
      private void CoursebuttonMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CoursebuttonMouseExited
          // TODO add your handling code here:
          e3.setForeground(Color.WHITE);
      }//GEN-LAST:event_CoursebuttonMouseExited
  
      private void CoursebuttonMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_CoursebuttonMousePressed
          // TODO add your handling code here:
          TimeMenu.setVisible(false);
          MainMenu1.setVisible(false);
          CourseMenu.setVisible(true);
          SectionMenu.setVisible(false);
          ClassroomMenu.setVisible(false);
  
          Classroombutton.setVisible(true);
  
          Timebutton.setVisible(true);
          menu.setVisible(true);
          Coursebutton.setVisible(true);
          Sectionbutton.setVisible(true);
      }//GEN-LAST:event_CoursebuttonMousePressed
  
      private void deletestdMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_deletestdMouseEntered
  
          jLabel10.setForeground(new java.awt.Color(0, 64, 128));
  
      }//GEN-LAST:event_deletestdMouseEntered
  
      private void deletestdMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_deletestdMouseExited
          // TODO add your handling code here:
          jLabel10.setForeground(Color.WHITE);
      }//GEN-LAST:event_deletestdMouseExited
  
      private void addstdMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_addstdMouseClicked
          // TODO add your handling code here:
  
      }//GEN-LAST:event_addstdMouseClicked
  
      private void addstdMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_addstdMouseEntered
          // TODO add your handling code here:\
          jLabel11.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_addstdMouseEntered
  
      private void addstdMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_addstdMouseExited
          // TODO add your handling code here:
          jLabel11.setForeground(Color.WHITE);
      }//GEN-LAST:event_addstdMouseExited
  
      private void updatestdMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_updatestdMouseEntered
          // TODO add your handling code here:
          jLabel12.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_updatestdMouseEntered
  
      private void updatestdMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_updatestdMouseExited
          // TODO add your handling code here:
          jLabel12.setForeground(Color.WHITE);
      }//GEN-LAST:event_updatestdMouseExited
  
      private void jLabel14MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel14MouseEntered
          // TODO add your handling code here:
          jLabel14.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_jLabel14MouseEntered
  
      private void jLabel14MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel14MouseExited
          // TODO add your handling code here:
          jLabel14.setForeground(Color.WHITE);
      }//GEN-LAST:event_jLabel14MouseExited
  
      private void stdprofileMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_stdprofileMouseEntered
          // TODO add your handling code here:
          jLabel14.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_stdprofileMouseEntered
  
      private void stdprofileMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_stdprofileMouseExited
          // TODO add your handling code here:
          jLabel14.setForeground(Color.WHITE);
      }//GEN-LAST:event_stdprofileMouseExited
  
      private void stdcourseMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_stdcourseMouseEntered
          // TODO add your handling code here:
          jLabel4.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_stdcourseMouseEntered
  
      private void stdcourseMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_stdcourseMouseExited
          // TODO add your handling code here:
          jLabel4.setForeground(Color.WHITE);
      }//GEN-LAST:event_stdcourseMouseExited
  
      private void Hide1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_Hide1MouseClicked
          // TODO add your handling code here:
      }//GEN-LAST:event_Hide1MouseClicked
  
      private void Hide1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_Hide1MouseEntered
          // TODO add your handling code here:
          jLabel15.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_Hide1MouseEntered
  
      private void Hide1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_Hide1MouseExited
          // TODO add your handling code here:
          jLabel15.setForeground(Color.WHITE);
      }//GEN-LAST:event_Hide1MouseExited
  
      private void Hide1MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_Hide1MousePressed
          // TODO add your handling code here:
          MainMenu1.setVisible(false);
          e2.setVisible(true);
      }//GEN-LAST:event_Hide1MousePressed
  
      private void addcourseMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_addcourseMouseEntered
          // TODO add your handling code here:
          a3.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_addcourseMouseEntered
  
      private void addcourseMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_addcourseMouseExited
          // TODO add your handling code here:
          a3.setForeground(Color.WHITE);
      }//GEN-LAST:event_addcourseMouseExited
  
      private void deletecourseMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_deletecourseMouseEntered
          // TODO add your handling code here:
          a2.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_deletecourseMouseEntered
  
      private void deletecourseMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_deletecourseMouseExited
          // TODO add your handling code here:
          a2.setForeground(Color.WHITE);
      }//GEN-LAST:event_deletecourseMouseExited
  
      private void updatecourseMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_updatecourseMouseEntered
          // TODO add your handling code here:
          a1.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_updatecourseMouseEntered
  
      private void updatecourseMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_updatecourseMouseExited
          // TODO add your handling code here:
          a1.setForeground(Color.WHITE);
      }//GEN-LAST:event_updatecourseMouseExited
  
      private void HideCourseMenuMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideCourseMenuMouseClicked
          // TODO add your handling code here:
      }//GEN-LAST:event_HideCourseMenuMouseClicked
  
      private void HideCourseMenuMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideCourseMenuMouseEntered
          // TODO add your handling code here:
          a7.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_HideCourseMenuMouseEntered
  
      private void HideCourseMenuMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideCourseMenuMouseExited
  
          // TODO add your handling code here:
          a7.setForeground(Color.WHITE);
      }//GEN-LAST:event_HideCourseMenuMouseExited
  
      private void HideCourseMenuMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideCourseMenuMousePressed
          // TODO add your handling code here:
          CourseMenu.setVisible(false);
          Coursebutton.setVisible(true);
      }//GEN-LAST:event_HideCourseMenuMousePressed
  
      private void e4MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_e4MouseEntered
          e4.setForeground(new java.awt.Color(173, 216, 230));
      }//GEN-LAST:event_e4MouseEntered
  
      private void e4MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_e4MouseExited
          // TODO add your handling code here:
          e4.setForeground(Color.WHITE);
      }//GEN-LAST:event_e4MouseExited
  
      private void e4MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_e4MousePressed
          // TODO add your handling code here:
          TimeMenu.setVisible(false);
          MainMenu1.setVisible(false);
          CourseMenu.setVisible(false);
          SectionMenu.setVisible(true);
          ClassroomMenu.setVisible(false);
  
          Classroombutton.setVisible(true);
  
          Timebutton.setVisible(true);
          menu.setVisible(true);
          Coursebutton.setVisible(true);
          Sectionbutton.setVisible(true);
      }//GEN-LAST:event_e4MousePressed
  
      private void SectionbuttonMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SectionbuttonMouseEntered
          // TODO add your handling code here:
          e4.setForeground(new java.awt.Color(173, 216, 230));
  
      }//GEN-LAST:event_SectionbuttonMouseEntered
  
      private void SectionbuttonMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SectionbuttonMouseExited
          // TODO add your handling code here:
          e4.setForeground(Color.WHITE);
      }//GEN-LAST:event_SectionbuttonMouseExited
  
      private void SectionbuttonMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SectionbuttonMousePressed
          // TODO add your handling code here:
          TimeMenu.setVisible(false);
          MainMenu1.setVisible(false);
          CourseMenu.setVisible(false);
          SectionMenu.setVisible(true);
          ClassroomMenu.setVisible(false);
  
          Classroombutton.setVisible(true);
          Timebutton.setVisible(true);
          menu.setVisible(true);
          Coursebutton.setVisible(true);
          Sectionbutton.setVisible(true);
          Sectionbutton.setVisible(true);
      }//GEN-LAST:event_SectionbuttonMousePressed
  
      private void TimebuttonMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_TimebuttonMouseEntered
          // TODO add your handling code here:
  
          e5.setForeground(new java.awt.Color(173, 216, 230));
      }//GEN-LAST:event_TimebuttonMouseEntered
  
      private void TimebuttonMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_TimebuttonMouseExited
          // TODO add your handling code here:
          e5.setForeground(Color.WHITE);
      }//GEN-LAST:event_TimebuttonMouseExited
  
      private void TimebuttonMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_TimebuttonMousePressed
          // TODO add your handling code here:
          TimeMenu.setVisible(true);
          MainMenu1.setVisible(false);
          CourseMenu.setVisible(false);
          SectionMenu.setVisible(false);
          ClassroomMenu.setVisible(false);
  
          Classroombutton.setVisible(true);
  
          Timebutton.setVisible(true);
          menu.setVisible(true);
          Coursebutton.setVisible(true);
          Sectionbutton.setVisible(true);
      }//GEN-LAST:event_TimebuttonMousePressed
  
      private void jPanel29MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel29MouseEntered
          // TODO add your handling code here:
          r1.setForeground(new java.awt.Color(0, 64, 128));
  
      }//GEN-LAST:event_jPanel29MouseEntered
  
      private void jPanel29MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel29MouseExited
          // TODO add your handling code here:
          r1.setForeground(Color.WHITE);
      }//GEN-LAST:event_jPanel29MouseExited
  
      private void jPanel31MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel31MouseEntered
          // TODO add your handling code here:
          r3.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_jPanel31MouseEntered
  
      private void jPanel31MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel31MouseExited
          // TODO add your handling code here:
          r3.setForeground(Color.WHITE);
      }//GEN-LAST:event_jPanel31MouseExited
  
      private void HideMarkMenu1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideMarkMenu1MouseClicked
          // TODO add your handling code here:
      }//GEN-LAST:event_HideMarkMenu1MouseClicked
  
      private void HideMarkMenu1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideMarkMenu1MouseEntered
          // TODO add your handling code here:
          r5.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_HideMarkMenu1MouseEntered
  
      private void HideMarkMenu1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideMarkMenu1MouseExited
          // TODO add your handling code here:
          r5.setForeground(Color.WHITE);
      }//GEN-LAST:event_HideMarkMenu1MouseExited
  
      private void HideMarkMenu1MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideMarkMenu1MousePressed
          // TODO add your handling code here:
      }//GEN-LAST:event_HideMarkMenu1MousePressed
  
      private void p1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_p1MouseEntered
          // TODO add your handling code here:
          p1.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_p1MouseEntered
  
      private void jPanel33MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel33MouseEntered
          // TODO add your handling code here:
      }//GEN-LAST:event_jPanel33MouseEntered
  
      private void jPanel33MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel33MouseExited
          // TODO add your handling code here:
          p1.setForeground(Color.WHITE);
      }//GEN-LAST:event_jPanel33MouseExited
  
      private void jPanel34MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel34MouseClicked
          // TODO add your handling code here:
      }//GEN-LAST:event_jPanel34MouseClicked
  
      private void jPanel34MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel34MouseEntered
          // TODO add your handling code here:
          p2.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_jPanel34MouseEntered
  
      private void jPanel34MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel34MouseExited
          // TODO add your handling code here:
          p2.setForeground(Color.WHITE);
  
      }//GEN-LAST:event_jPanel34MouseExited
  
      private void jPanel35MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel35MouseEntered
          // TODO add your handling code here:
          p3.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_jPanel35MouseEntered
  
      private void jPanel35MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel35MouseExited
          // TODO add your handling code here:
          p3.setForeground(Color.WHITE);
      }//GEN-LAST:event_jPanel35MouseExited
  
      private void HideMarkMenu2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideMarkMenu2MouseClicked
          // TODO add your handling code here:
      }//GEN-LAST:event_HideMarkMenu2MouseClicked
  
      private void HideMarkMenu2MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideMarkMenu2MouseEntered
          // TODO add your handling code here:
          p5.setForeground(new java.awt.Color(0, 64, 128));
      }//GEN-LAST:event_HideMarkMenu2MouseEntered
  
      private void HideMarkMenu2MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideMarkMenu2MouseExited
          // TODO add your handling code here:
          p5.setForeground(Color.WHITE);
      }//GEN-LAST:event_HideMarkMenu2MouseExited
  
      private void HideMarkMenu2MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_HideMarkMenu2MousePressed
          // TODO add your handling code here:
      }//GEN-LAST:event_HideMarkMenu2MousePressed
  
      private void ClassroombuttonMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_ClassroombuttonMouseEntered
          // TODO add your handling code here:
          e7.setForeground(new java.awt.Color(173, 216, 230));
  
      }//GEN-LAST:event_ClassroombuttonMouseEntered
  
      private void ClassroombuttonMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_ClassroombuttonMouseExited
          // TODO add your handling code here:
          e7.setForeground(Color.WHITE);
      }//GEN-LAST:event_ClassroombuttonMouseExited
  
      private void ClassroombuttonMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_ClassroombuttonMousePressed
          // TODO add your handling code here:
          TimeMenu.setVisible(false);
          MainMenu1.setVisible(false);
          CourseMenu.setVisible(false);
          SectionMenu.setVisible(false);
          ClassroomMenu.setVisible(true);
  
          Classroombutton.setVisible(true);
          Timebutton.setVisible(true);
          menu.setVisible(true);
          Coursebutton.setVisible(true);
          Sectionbutton.setVisible(true);
      }//GEN-LAST:event_ClassroombuttonMousePressed
  
      private void addsectionclassroomMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_addsectionclassroomMouseEntered
          // TODO add your handling code here:
          r4.setForeground(new java.awt.Color(0, 64, 128));
  
      }//GEN-LAST:event_addsectionclassroomMouseEntered
  
      private void addsectionclassroomMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_addsectionclassroomMouseExited
          // TODO add your handling code here:
          r4.setForeground(Color.WHITE);
      }//GEN-LAST:event_addsectionclassroomMouseExited
  
      private void Departmentbutton1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_Departmentbutton1MouseEntered
          // TODO add your handling code here:
          e8.setForeground(new java.awt.Color(173, 216, 230));
      }//GEN-LAST:event_Departmentbutton1MouseEntered
  
      private void Departmentbutton1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_Departmentbutton1MouseExited
          // TODO add your handling code here:
          e8.setForeground(Color.WHITE);
      }//GEN-LAST:event_Departmentbutton1MouseExited
  
      private void Departmentbutton1MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_Departmentbutton1MousePressed
          // TODO add your handling code here:
          Login x = null;
          try {
              x = new Login();
          } catch (SQLException ex) {
              Logger.getLogger(InstructorManag.class.getName()).log(Level.SEVERE, null, ex);
          }
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_Departmentbutton1MousePressed
  
      private void stdprofileMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_stdprofileMousePressed
          // TODO add your handling code here:
      }//GEN-LAST:event_stdprofileMousePressed
  
      private void addstdMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_addstdMousePressed
          // TODO add your handling code here:
          AddStudent x = new AddStudent();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_addstdMousePressed
  
      private void updatestdMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_updatestdMousePressed
          // TODO add your handling code here:
          Update_Student x = new Update_Student();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_updatestdMousePressed
  
      private void deletestdMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_deletestdMousePressed
          // TODO add your handling code here:
          Delete_Student x = new Delete_Student();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_deletestdMousePressed
  
      private void stdcourseMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_stdcourseMousePressed
          // TODO add your handling code here:
      }//GEN-LAST:event_stdcourseMousePressed
  
      private void addcourseMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_addcourseMousePressed
          // TODO add your handling code here:
          AddCourse x = new AddCourse();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_addcourseMousePressed
  
      private void updatecourseMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_updatecourseMousePressed
          // TODO add your handling code here:
          UpdateCourse x = new UpdateCourse();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_updatecourseMousePressed
  
      private void deletecourseMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_deletecourseMousePressed
          // TODO add your handling code here:
          DeleteCourse x = new DeleteCourse();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_deletecourseMousePressed
  
      private void jPanel2MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel2MousePressed
          // TODO add your handling code here:
          Addtimetable x = new Addtimetable();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_jPanel2MousePressed
  
      private void jPanel4MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel4MousePressed
          // TODO add your handling code here:
          DeleteSectionTime x = new DeleteSectionTime();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_jPanel4MousePressed
  
      private void jPanel33MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel33MousePressed
          // TODO add your handling code here:
          AddSection x = new AddSection();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_jPanel33MousePressed
  
      private void jPanel34MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel34MousePressed
          // TODO add your handling code here:
          UpdateSection x = new UpdateSection();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_jPanel34MousePressed
  
      private void jPanel35MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel35MousePressed
          // TODO add your handling code here:
          DeleteSection x = new DeleteSection();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_jPanel35MousePressed
  
      private void jPanel29MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel29MousePressed
          // TODO add your handling code here:
          AddClassRoom x = new AddClassRoom();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_jPanel29MousePressed
  
      private void jPanel31MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel31MousePressed
          // TODO add your handling code here:
          DeleteClassRoom x = new DeleteClassRoom();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_jPanel31MousePressed
  
      private void addsectionclassroomMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_addsectionclassroomMousePressed
          // TODO add your handling code here:
          AddSectionClassroom x = new AddSectionClassroom();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_addsectionclassroomMousePressed
  
      private void addcourse1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_addcourse1MouseEntered
          // TODO add your handling code here:
      }//GEN-LAST:event_addcourse1MouseEntered
  
      private void addcourse1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_addcourse1MouseExited
          // TODO add your handling code here:
      }//GEN-LAST:event_addcourse1MouseExited
  
      private void addcourse1MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_addcourse1MousePressed
          // TODO add your handling code here:
         AddSEctionToInstructor  x = new AddSEctionToInstructor();
          x.setVisible(true);
          x.setLocationRelativeTo(null);//center
          this.dispose();
      }//GEN-LAST:event_addcourse1MousePressed
  
      /**
       * @param args the command line arguments
       */
      public static void main(String args[]) {
          /* Set the Nimbus look and feel */
          //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
          /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
           * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
           */
          try {
              for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                  if ("Nimbus".equals(info.getName())) {
                      javax.swing.UIManager.setLookAndFeel(info.getClassName());
                      break;
                  }
              }
          } catch (ClassNotFoundException ex) {
              java.util.logging.Logger.getLogger(InstructorManag.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
          } catch (InstantiationException ex) {
              java.util.logging.Logger.getLogger(InstructorManag.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
          } catch (IllegalAccessException ex) {
              java.util.logging.Logger.getLogger(InstructorManag.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
          } catch (javax.swing.UnsupportedLookAndFeelException ex) {
              java.util.logging.Logger.getLogger(InstructorManag.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
          }
          //</editor-fold>
  
          /* Create and display the form */
          java.awt.EventQueue.invokeLater(new Runnable() {
              public void run() {
                  new InstructorManag().setVisible(true);
              }
          });
      }
  
      // Variables declaration - do not modify//GEN-BEGIN:variables
      private javax.swing.JPanel ClassroomMenu;
      private javax.swing.JPanel Classroombutton;
      private javax.swing.JPanel CourseMenu;
      private javax.swing.JPanel Coursebutton;
      private javax.swing.JPanel Departmentbutton1;
      private javax.swing.JPanel Hide1;
      private javax.swing.JPanel HideCourseMenu;
      private javax.swing.JPanel HideMarkMenu1;
      private javax.swing.JPanel HideMarkMenu2;
      private javax.swing.JPanel HideTimeMenu;
      private javax.swing.JPanel MainMenu1;
      private javax.swing.JPanel SectionMenu;
      private javax.swing.JPanel Sectionbutton;
      private javax.swing.JPanel TimeMenu;
      private javax.swing.JPanel Timebutton;
      private javax.swing.JLabel a1;
      private javax.swing.JLabel a2;
      private javax.swing.JLabel a3;
      private javax.swing.JLabel a4;
      private javax.swing.JLabel a7;
      private javax.swing.JPanel addcourse;
      private javax.swing.JPanel addcourse1;
      private javax.swing.JPanel addsectionclassroom;
      private javax.swing.JPanel addstd;
      private javax.swing.JLabel b2;
      private javax.swing.JLabel b3;
      private javax.swing.JLabel b4;
      private javax.swing.JPanel deletecourse;
      private javax.swing.JPanel deletestd;
      private javax.swing.JLabel e2;
      private javax.swing.JLabel e3;
      private javax.swing.JLabel e4;
      private javax.swing.JLabel e5;
      private javax.swing.JLabel e7;
      private javax.swing.JLabel e8;
      private javax.swing.JLabel jLabel1;
      private javax.swing.JLabel jLabel10;
      private javax.swing.JLabel jLabel11;
      private javax.swing.JLabel jLabel12;
      private javax.swing.JLabel jLabel14;
      private javax.swing.JLabel jLabel15;
      private javax.swing.JLabel jLabel2;
      private javax.swing.JLabel jLabel4;
      private javax.swing.JPanel jPanel1;
      private javax.swing.JPanel jPanel2;
      private javax.swing.JPanel jPanel29;
      private javax.swing.JPanel jPanel31;
      private javax.swing.JPanel jPanel33;
      private javax.swing.JPanel jPanel34;
      private javax.swing.JPanel jPanel35;
      private javax.swing.JPanel jPanel4;
      private javax.swing.JPanel menu;
      private javax.swing.JLabel p1;
      private javax.swing.JLabel p2;
      private javax.swing.JLabel p3;
      private javax.swing.JLabel p5;
      private javax.swing.JLabel r1;
      private javax.swing.JLabel r3;
      private javax.swing.JLabel r4;
      private javax.swing.JLabel r5;
      private javax.swing.JPanel stdcourse;
      private javax.swing.JPanel stdprofile;
      private javax.swing.JPanel updatecourse;
      private javax.swing.JPanel updatestd;
      // End of variables declaration//GEN-END:variables
  }
  