예제 #1
0
  public DruBrowserPanel() {
    init();

    HTMLPage hpage = new HTMLPage();
    hpage.loadDefault();

    showPage(hpage);
  }
예제 #2
0
  public DruBrowserPanel(String s) {
    init();

    HTMLPage hpage = new HTMLPage();
    if (s != null && s.length() > 3) {
      hpage.wrapText(s);
    } else {
      hpage.loadDefault();
    }

    showPage(hpage);
  }