Search in sources :

Example 1 with PaymentRecordboxTableModel

use of com.moneychanger.ui.model.PaymentRecordboxTableModel in project otapij by FellowTraveler.

the class MainPage method populatePaymentDetails.

private void populatePaymentDetails(String serverID, String nymID) throws InterruptedException {
    if (Utility.VerifyStringVal(serverID)) {
        Map inbox = Payments.getPaymentInboxRecords(nymID, serverID);
        Map outbox = Payments.getPaymentOutboxRecords(nymID, serverID);
        ((PaymentInboxTableModel) jTable20.getModel()).setValue(inbox, jTable20);
        ((PaymentOutboxTableModel) jTable21.getModel()).setValue(outbox, jTable21);
        ((PaymentRecordboxTableModel) jTable22.getModel()).setValue(inbox, jTable22);
    }
}
Also used : PaymentRecordboxTableModel(com.moneychanger.ui.model.PaymentRecordboxTableModel) Map(java.util.Map) PaymentOutboxTableModel(com.moneychanger.ui.model.PaymentOutboxTableModel) PaymentInboxTableModel(com.moneychanger.ui.model.PaymentInboxTableModel)

Aggregations

PaymentInboxTableModel (com.moneychanger.ui.model.PaymentInboxTableModel)1 PaymentOutboxTableModel (com.moneychanger.ui.model.PaymentOutboxTableModel)1 PaymentRecordboxTableModel (com.moneychanger.ui.model.PaymentRecordboxTableModel)1 Map (java.util.Map)1