public Frame getFrame() { AppFrame appFrame = (AppFrame) getRegisteredObject(Constants.APP_FRAME); if (appFrame != null) return appFrame.getFrame(); return Util.findParentFrame((Container) getRegisteredObject(Constants.APP_PANEL)); }