/** @see java.awt.event.ComponentListener#componentShown(java.awt.event.ComponentEvent) */
    @Override
    public void componentShown(ComponentEvent evt) {
      Bunt bunt = deductBatchViewHandler.getSelectedBatch();

      if (lastBunt == null || !lastBunt.equals(bunt)) {
        lastBunt = bunt;
        if (bunt != null) {
          GuiUtil.setWaitCursor(FrafMain.getInstance());
          loadImport(bunt);
          GuiUtil.setDefaultCursor(FrafMain.getInstance());
        }
      }
    }
Beispiel #2
0
  /**
   * Viser rapport
   *
   * @param window
   */
  void showReport(WindowInterface window) {
    GuiUtil.setWaitCursor(window);
    Batchable batch = (Batchable) batchSelectionList.getSelection();
    if (batch != null) {
      List<ReconcilVInterface> lines = reconcilVManager.findByBatchId(batch.getBatchId());

      if (lines != null) {
        reportList.clear();
        reportList.addAll(lines);
      }
    }
    table.packAll();
    GuiUtil.setDefaultCursor(window);
  }