Package org.blueoxygen.postila.entity

Examples of org.blueoxygen.postila.entity.ReceiveDetail


        }
    }//GEN-LAST:event_tfItemCodeKeyPressed

    private void btDelete2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btDelete2ActionPerformed
        int list = jTable1.getSelectedRow();
        ReceiveDetail r = rds.get(list);
        if(r.getItemWarehouse().getItem().getItemsType().getId().equalsIgnoreCase("1")){
            for(int i = 0; i < listData.size(); ){
                List li = (List) listData.get(i);
                if(((ItemDetail)li.get(0)).getReceiveDetail().equals(r)){
                    listData.remove(i);
                    continue;
View Full Code Here


            ef.setDefaultCloseOperation(javax.swing.JFrame.DISPOSE_ON_CLOSE);
            ef.setLocation(WindowUtils.getPointForCentering(ef));
            //ef.addPropertyChangeListener(this);
            ef.setVisible(true);
        } else {
            ReceiveDetail rd = new ReceiveDetail();
            rd.setItemWarehouse(itemWarehouse);
            rd.setQuantity(tfQuantity.getText());
            rds.add(rd);
            model.addRow(new Object[]{rd.getItemWarehouse().getItem().getItemsName()!=null?rd.getItemWarehouse().getItem().getItemsName():"",
                    rd.getQuantity()});
        }
    }//GEN-LAST:event_btAddActionPerformed
View Full Code Here

TOP

Related Classes of org.blueoxygen.postila.entity.ReceiveDetail

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.