private void editAmount() {
        setVisible(false);
        ArrayList<Booking> bookings = table.getSelectedObjects();
        for (Booking booking : bookings) {
            Transaction transaction = booking.getTransaction();
            Account account = booking.getAccount();
            //TODO: or JournalGUI.table should contain Movements iso Bookings
            // booking must be removed and re-added to Transaction to re-calculate the totals
            transaction.removeBusinessObject(booking);
            BigDecimal amount = journalInputGUI.askAmount(account, booking.isDebit());
            if (amount != null) {
                booking.setAmount(amount);
            }
            transaction.addBusinessObject(booking);
            journalInputGUI.fireTransactionDataChanged();
        }
    }