Esempio n. 1
0
  public static void createLayeredPane(ActionContext actionContext) {
    Thing self = (Thing) actionContext.get("self");
    JInternalFrame parent = (JInternalFrame) actionContext.get("parent");

    for (Thing child : self.getChilds()) {
      JLayeredPane c = (JLayeredPane) child.doAction("create", actionContext);
      if (c != null) {
        parent.setLayeredPane(c);
        break;
      }
    }
  }