Package org.jwall.app.ui

Examples of org.jwall.app.ui.DisplayDialog


    log.debug("Displaying url: {}", url);

    if (url == null)
      return;

    DisplayDialog d = new DisplayDialog(url, true);
    d.setVisible(true);
  }
View Full Code Here


      try {

        URL url = WebPolicyEditor.class.getResource("/html/about.html");
        if (url != null) {

          DisplayDialog d = new DisplayDialog(url, false, 400, 300);
          d.setTitle("WebPolicyEditor Version " + VERSION + " ("
              + REVISION + ")");
          d.setVisible(true);
          d.setResizable(false);

        } else
          WebPolicyEditor.showDialog(new URL(
              "http://www.jwall.org/web/policy/lang.jsp"));
View Full Code Here

  public static void showDialog(int width, int height, URL url) {
    if (url == null)
      return;

    DisplayDialog d = new DisplayDialog(url, true, width, height);
    d.setVisible(true);
    d.setResizable(false);
  }
View Full Code Here

TOP

Related Classes of org.jwall.app.ui.DisplayDialog

Copyright © 2018 www.massapicom. 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.