Package no.ugland.utransprod.gui

Examples of no.ugland.utransprod.gui.WindowInterface.pack()


    WindowInterface window = InternalFrameBuilder.buildInternalFrame(
        heading, ((ApplicationParamViewHandler) viewHandler)
            .getDeviationManagerWindowSize(), false);
    window.add(buildPanel(window), BorderLayout.CENTER);

    window.pack();
    return window;
  }

  public void cleanUp() {
  }
View Full Code Here


        articleTypeViewHandler, true, false);
    WindowInterface dialog = new JDialogAdapter(new JDialog(
        ProTransMain.PRO_TRANS_MAIN, "Artikkel", true));
    dialog.setName("ArticleView");
    dialog.add(articleTypeView.buildPanel(dialog));
    dialog.pack();
    Util.locateOnScreenCenter(dialog);
    dialog.setVisible(true);

    List<ArticleType> newArticles = articleTypeView.getSelectedObjects();
    showArticleAttributeView(newArticles, costable, window);
View Full Code Here

    WindowInterface dialogAttributes = new JDialogAdapter(new JDialog(
        ProTransMain.PRO_TRANS_MAIN, "Attributter", true));
    dialogAttributes.setName("OrderLineAttributeView");
    dialogAttributes.add(constructionArticleAttributeView
        .buildPanel(dialogAttributes));
    dialogAttributes.pack();
    Util.locateOnScreenCenter(dialogAttributes);
    dialogAttributes.setVisible(true);
    dialogAttributes.dispose();
  }
View Full Code Here

              + costableModel.getPostOffice());
      JDialog dialog = Util.getDialog(window, "Attributter", true);
      WindowInterface dialogAttributes = new JDialogAdapter(dialog);
      dialogAttributes.setName("UpdateOrderLineView");
      dialogAttributes.add(orderLineView.buildPanel(dialogAttributes));
      dialogAttributes.pack();
      Util.locateOnScreenCenter(dialogAttributes);
      dialogAttributes.setVisible(true);
      dialogAttributes.dispose();
    }
  }
View Full Code Here

            .getBufferedValue(OrderModel.PROPERTY_ORDER_NR));
    OrdlnView ordlnView = new OrdlnView(ordlnViewHandler);
    WindowInterface dialogWindow = new JDialogAdapter(Util.getDialog(
        window, "Ordrelinjer fra Visma", false));
    dialogWindow.add(ordlnView.buildPanel(dialogWindow));
    dialogWindow.pack();
    Util.locateOnScreenCenter(dialogWindow);
    dialogWindow.setVisible(true);
  }

  public JButton getButtonImportOrderLines(WindowInterface window) {
View Full Code Here

      WindowInterface window = new JDialogAdapter(new JDialog(
          ProTransMain.PRO_TRANS_MAIN, "Transport statistikk"));

      window.add(reportConstraintView.buildPanel(window));
      window.pack();
      Util.locateOnScreenCenter(window);
      window.setVisible(true);

    }
  }
View Full Code Here

    JDialog dialog = new JDialog(ProTransMain.PRO_TRANS_MAIN, "Avvik", true);
    WindowInterface window = new JDialogAdapter(dialog);

    window.add(editDeviationView.buildPanel(window), BorderLayout.CENTER);

    window.pack();
    Util.locateOnScreenCenter(window);
    window.setVisible(true);

    refreshPostShipment();
  }
View Full Code Here

  public WindowInterface buildWindow() {
    WindowInterface window = InternalFrameBuilder.buildInternalFrame(
        "Mailoppsett", ((ApplicationParamViewHandler) viewHandler)
            .getMailSetupWindowSize(), false);
    window.add(buildPanel(window), BorderLayout.CENTER);
    window.pack();
    return window;
  }

  public void cleanUp() {
    // TODO Auto-generated method stub
View Full Code Here

      JDialog dialog = new JDialog(ProTransMain.PRO_TRANS_MAIN,
          employeeTypeView.getTitle(), true);
      WindowInterface window = new JDialogAdapter(dialog);
      window.add(employeeTypeView.buildPanel(window));

      window.pack();
      window.setSize(employeeTypeViewHandler.getWindowSize());

      Util.locateOnScreenCenter(window);
      window.setVisible(true);
      refreshEmployeeList();
View Full Code Here

      window.add(reportViewer.buildPanel(window));

      try {
        reportViewer.generateProtransReport(getTableModelReport(),
            getWindowTitle(), getReportEnum(), null);
        window.pack();
        Util.locateOnScreenCenter(window);
        window.setVisible(true);
      } catch (ProTransException e) {
        e.printStackTrace();
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.