//GEN-FIRST:event_orderButtonActionPerformed
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) {//GEN-FIRST:event_orderButtonActionPerformed
AddOrderForm orderForm = AddOrderForm.getInstance();
System.out.println(lowOnStock.get(stockTable.getSelectedColumn()));
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) {//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:
}