private void Diagnose_Combobox_NameActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Diagnose_Combobox_NameActionPerformed

        name=(String)Diagnose_Combobox_Name.getSelectedItem();
        try {
            try {
                try {
                    try {
                        try {
                            // TODO add your handling code here:
                            Diagnose_Textarea_PreviousHistory.setText(myLogicLayer.getHistory(name));
                        } catch (SQLException ex) {
                            Logger.getLogger(PatientDiagnoseForm.class.getName()).log(Level.SEVERE, null, ex);
                        }

                        Diagnose_textarea_prescription.setText(myLogicLayer.getPrescription(name));
                    } catch (SQLException ex) {
                        Logger.getLogger(PatientDiagnoseForm.class.getName()).log(Level.SEVERE, null, ex);
                    }

                    Diagnose_textarea_Remarks.setText(myLogicLayer.getHistory(name));
                } catch (SQLException ex) {
                    Logger.getLogger(PatientDiagnoseForm.class.getName()).log(Level.SEVERE, null, ex);
                }
                Diagnose_textfield_sugarLevel.setText(myLogicLayer.getBloodSugarLevel(name));
            } catch (SQLException ex) {
                Logger.getLogger(PatientDiagnoseForm.class.getName()).log(Level.SEVERE, null, ex);
            }
            Diagnose_textfield_pressureLevel.setText(myLogicLayer.getBloodPressureLevel(name));
        } catch (SQLException ex) {
            Logger.getLogger(PatientDiagnoseForm.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_Diagnose_Combobox_NameActionPerformed