public supplierMain() {
        initComponents();
        order newOrder=new order();
        loadSupplier();
        newChequeTable.checkAndUpdate();
        this.loadCheques();
        this.loadBank();
        this.searchedPanel.setVisible(false);
        this.orderTable.setVisible(false);
        currentDate=newOrder.getCurrentDate();
        orderDateText.setText(newOrder.getCurrentDate());
        dateLabel.setText(newOrder.getCurrentDate());
        chequePayementDateText.setText(dateLabel.getText());
        
        
        try {
            // TODO add your handling code here:
            supplierList = dataAccessor.databaseInfo("Name");
            for(int i=0;i<supplierList.size();i++){
                orderNameCombo.addItem(supplierList.get(i));
                supplierDetailsOrderCombo.addItem(supplierList.get(i));
            }
        } catch (SQLException ex) {
            Logger.getLogger(supplierMain.class.getName()).log(Level.SEVERE, null, ex);
        }
        
        try {
            // TODO add your handling code here:
            medicinePrice=dataAccessor.databaseMedicinePrices("Price");
            supplierList = dataAccessor.databaseMedicineInfo("Medicine_Name");
            for(int i=0;i<supplierList.size();i++){
                orderMedicineCombo.addItem(supplierList.get(i));
            }
        } catch (SQLException ex) {
            Logger.getLogger(supplierMain.class.getName()).log(Level.SEVERE, null, ex);
        }
        
        try {
            // TODO add your handling code here:
            bankList=newBankDataAccessor.databaseInfo("bankName");
            
            for(int i=0;i<bankList.size();i++){
                bankSearchCombo.addItem(bankList.get(i));
                depositBankNameCombo.addItem(bankList.get(i));
            }
        } catch (SQLException ex) {
            Logger.getLogger(supplierMain.class.getName()).log(Level.SEVERE, null, ex);
        }
        
        //supplierTabbedPane.setOpaque(false);
    }