public Homework_database_add() {
        initComponents();

         Member_details_add.readarray();    
         Member_details default1 = Member_details_array.getMembers()[Member_loggedin.getNumber()];
         
         Subject.removeAllItems();
         Subject.insertItemAt(default1.getSubject1(), 0);
         Subject.insertItemAt(default1.getSubject2(), 1);
         Subject.insertItemAt(default1.getSubject3(), 2);
         Subject.insertItemAt(default1.getSubject4(), 3);
         Subject.insertItemAt(default1.getSubject5(), 4);
         Subject.insertItemAt(default1.getSubject6(), 5);
         if(default1.getSubject7().equals("None"))
         {
             
         }
         else
         {
         Subject.insertItemAt(default1.getSubject7(), 0);
         }
        
        this.setDefaultCloseOperation(0);
        jPanel1.setBackground(login_area.FINAL_BG_COLOR);
    }