Search in sources :

Example 11 with Contract

use of com.moneychanger.core.Contract in project otapij by FellowTraveler.

the class MainPage method refreshAssetContractList.

private static void refreshAssetContractList() {
    Contract contract = new Contract();
    ((AssetContractTableModel) jTable_AssetList.getModel()).setValue(contract.loadAssetContract(), jTable_AssetList);
    assetMap.clear();
    assetMap = contract.loadAssetContract();
    Helpers.populateCombo(assetMap, jComboBox_AssetContracts);
}
Also used : Contract(com.moneychanger.core.Contract) AssetContractTableModel(com.moneychanger.ui.model.AssetContractTableModel)

Aggregations

Contract (com.moneychanger.core.Contract)11 NYM (com.moneychanger.core.NYM)3 Point (java.awt.Point)3 AssetContractTableModel (com.moneychanger.ui.model.AssetContractTableModel)2 ServerContractTableModel (com.moneychanger.ui.model.ServerContractTableModel)2 ListSelectionEvent (javax.swing.event.ListSelectionEvent)2 ListSelectionListener (javax.swing.event.ListSelectionListener)2 Account (com.moneychanger.core.Account)1 OpenTransactionAccount (com.moneychanger.core.OpenTransactionAccount)1 RippleAccount (com.moneychanger.core.RippleAccount)1 CashPurseDetails (com.moneychanger.core.dataobjects.CashPurseDetails)1 OTDetails (com.moneychanger.core.dataobjects.OTDetails)1 ComboObject (com.moneychanger.core.util.ComboObject)1 AWTException (java.awt.AWTException)1 CardLayout (java.awt.CardLayout)1 JPanel (javax.swing.JPanel)1