public float RetrieveBankAccountBalance(String bankName) throws SQLException{
            String temp;
            float amount = 0;
            
            
            try{
            databaseConnector=myConnector.getConnection();
            stmnt=(Statement) databaseConnector.createStatement();
            
            SQLQuery="SELECT * FROM familydoctor.bank WHERE bankName="+"'"+bankName+"'";
            dataSet=stmnt.executeQuery(SQLQuery);
          
            while(dataSet.next()){
                amount=dataSet.getFloat("accBalance");
                
            }
            }
        
            catch(SQLException e){
                System.out.println(e.getMessage());
            }
            finally{
                if(stmnt!=null)
                    stmnt.close();
                if(databaseConnector!=null)
                    databaseConnector.close();
            }
            System.out.println("Amount "+amount);
        return amount;
        }