Integer i = (Integer) getChild(FrameDisplay.USER_INTERFACE_MODE);
Integer i = (Integer) getChild(FrameDisplay.MODE);
    public java.lang.Object createJavaObject() {        java.awt.Container c = null;/*??        Integer i = (Integer) getChild(FrameDisplay.USER_INTERFACE_MODE);        if (i != null) {            if (i.isEqualTo(FrameDisplay.APPLET_MODE)) {                    c = new javax.swing.JApplet();                } else if (i.isEqualTo(FrameDisplay.WINDOW_MODE)) {                    c = new javax.swing.JWindow();                } else if (i.isEqualTo(FrameDisplay.MODAL_DIALOG_MODE)) {                    c = new javax.swing.JDialog();                } else if (i.isEqualTo(FrameDisplay.MODELESS_DIALOG_MODE)) {                    c = new javax.swing.JDialog();                } else if (i.isEqualTo(FrameDisplay.FRAME_MODE)) {*/                    c = new javax.swing.JFrame();                if (c != null) {                            c.setSize(600, 400);                 } else {                            throw new Exception("Could not create encapsulated java swing frame. The encapsulated java swing frame is null.");                }/*??            } else if (i.isEqualTo(FrameDisplay.INTERNAL_FRAME_MODE)) {                    c = new javax.swing.JInternalFrame();                } else if (i.isEqualTo(FrameDisplay.TAB_PAGE_MODE)) {                    c = new javax.swing.JPanel();            }        } else {            throw new Exception("Could not create frame. The user interface mode is null.");        }*/        return c;    }