Beispiel #1
0
  private Window createConfiguratorWindows() {
    Window w = new Window();
    w.setIcon(IconHelper.createStyle("icon-grid"));
    w.setMinimizable(true);
    w.setMaximizable(true);
    w.setHeading("Zweite Test3DApp");
    w.setSize(800, 600);
    w.setLayout(new FitLayout());

    Frame app3d = new Frame("scenes/car3d/AC_1038.xhtml");
    System.out.println(app3d.getUrl());

    w.add(app3d);
    return w;
  }
Beispiel #2
0
  private Window createCheeseWindows() {
    Window w = new Window();
    w.setIcon(IconHelper.createStyle("icon-grid"));
    w.setMinimizable(true);
    w.setMaximizable(true);
    w.setHeading("3Dtest app");
    w.setSize(800, 600);
    w.setLayout(new FitLayout());

    Frame app3d = new Frame("scenes/cheese.xhtml");
    System.out.println(app3d.getUrl());

    w.add(app3d);
    return w;
  }
Beispiel #3
0
  public void refresh() {
    if (isOverviewVisible) {
      try {
        if (DOMUtils.getInstance().isInternetExplorer()) {
          update();
        } else {
          if (myIFrame != null) {
            myIFrame.setUrl(cleanURL(myIFrame.getUrl()));
          }
        }

      } catch (Exception e) {
        Window.alert("Unable to refresh the Case recap! " + e.getMessage());
      }
    }
    mustRefresh = false;
  }