public void loadBank(){
        
      orderDataAccesor dataAccessOrder=new orderDataAccesor();
      
      List<bank> bankList=new ArrayList();
      DefaultTableModel orderDataTable=new DefaultTableModel();
      
      Object[ ] columnNames=new Object[4];
      Object[ ] fieldValues=new Object[4];
      //Patient myPatient=null;
      
      try{
         bankList=newBankDataAccessor.retriveBankinfo();
      }
      
      catch(SQLException e){
          System.out.println(e.getMessage());
      }
      
      if(bankList.isEmpty()){
          JOptionPane.showMessageDialog(null,"No orders from the selected supplier ","Information",JOptionPane.WARNING_MESSAGE);
      }
      
      
      columnNames[0]="Bank ID";
      columnNames[1]="Bank Name";
      columnNames[2]="Acount No";
      columnNames[3]="Account Balance";
     
      
      
      orderDataTable.setColumnIdentifiers(columnNames);
      
      if(bankList.size()>0){
         
          for (bank newBank : bankList) {
              tempBank = newBank;
              fieldValues[0]=tempBank.getBankID();
              fieldValues[1]=tempBank.getBankName();
              fieldValues[2]=tempBank.getAccNo();
              fieldValues[3]=tempBank.getAccBalance();
              
              orderDataTable.addRow(fieldValues);
          }
          
          this.bankTable.setModel(orderDataTable);
          this.bankTable.setVisible(true);
      }
    }