Package org.beryl.gui.widgets

Examples of org.beryl.gui.widgets.TextPane


      warning = ImageIconFactory.getIcon("warning");
      info = ImageIconFactory.getIcon("info");
    }

    dialog = constructDialog("MessageDialog", dataModel);
    TextPane textPane = (TextPane) dialog.getWidget("MessagePane");
    switchButton = (Button) dialog.getWidget("SwitchButton");
    containerPanel = (Panel) dialog.getWidget("ContainerPanel");

    if (details == null) {
      switchButton.setEnabled(false);
    } else {
      TextPane detailPane = (TextPane) dialog.getWidget("DetailPane");
      detailPane.addText(details);
    }

    switch (type) {
      case INFORMATION_MESSAGE :
        textPane.addIcon(info);
View Full Code Here

TOP

Related Classes of org.beryl.gui.widgets.TextPane

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.