示例#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);
  }