Package net.sourceforge.wampum.finance.entities.extra

Examples of net.sourceforge.wampum.finance.entities.extra.RegisterTrans


            (ListSelectionModel)event.getSource();
        if (lsm.isSelectionEmpty()) {
            //no rows are selected
        } else {
            int selectedRow = lsm.getMinSelectionIndex();
            RegisterTrans trans = (RegisterTrans)transactionList.get(selectedRow);
           
        DAOFactory daoFactory = new DAOFactory();
        TransactionDAO transDao = (TransactionDAO)daoFactory.getDAO("transaction");
        List transList = transDao.load("WHERE TRANSACTION_ID = '" + trans.getTransactionID() + "'", null, false);
           
            transController.setTransaction((Transaction)transList.get(0), trans.getAmount(), trans.getBalance());
        }
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.wampum.finance.entities.extra.RegisterTrans

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.