protected Widget getWidget(Catbert.FastStack stack) { Object o = stack.pop(); if (o instanceof Widget) return (Widget) o; else if (o != null && stack.getUIMgr() != null) { // Try to lookup the widget by symbol return (Widget) (stack.getUIMgr().getModuleGroup().symbolMap.get(o.toString())); } else return null; }