} else if (p1 instanceof java.awt.Component) {  java.awt.Container c = (java.awt.Container) f.getContentPane();  if (c != null) {  c.remove((java.awt.Component) p1);  } else {  java.lang.System.out.println("ERROR: Could not remove from jframe. The content pane is null."); }
    static void remove_from_jframe(java.lang.Object p0, java.lang.Object p1, java.lang.Object p2) {        javax.swing.JFrame f = (javax.swing.JFrame) p0;                if (f != null) {            java.lang.System.out.println("INFO: Remove from jframe.");                        if (p1 instanceof javax.swing.JMenuBar) {                                    f.setJMenuBar(null);            }        } else {                        java.lang.System.out.println("ERROR: Could not remove from jframe. The jframe is null.");        }    }