private void orderButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_orderButtonActionPerformed
        AddOrderForm orderForm = AddOrderForm.getInstance();
        System.out.println(lowOnStock.get(stockTable.getSelectedColumn()));
        AdminMainForm admin = AdminMainForm.getInstance();
        admin.showForm(orderForm);
        orderForm.setDrug(lowOnStock.get(stockTable.getSelectedRow()));
        //orderForm.setVisible(true);// TODO add your handling code here:
    }
private void orderButtonActionPerformed(java.awt.event.ActionEvent evt) {        AddOrderForm orderForm = AddOrderForm.getInstance();
        System.out.println(lowOnStock.get(stockTable.getSelectedColumn()));
        AdminMainForm admin = AdminMainForm.getInstance();
        admin.showForm(orderForm);
        orderForm.setDrug(lowOnStock.get(stockTable.getSelectedRow()));
       
    }
private void orderbuttonactionperformed(java.awt.event.actionevent evt) { addorderform orderform = addorderform.getinstance(); system.out.println(lowonstock.get(stocktable.getselectedcolumn())); adminmainform admin = adminmainform.getinstance(); admin.showform(orderform); orderform.setdrug(lowonstock.get(stocktable.getselectedrow())); }