/**
   * Removes the status bar.
   *
   * @param s the status bar
   * @exception NullPointerException if the java frame is null
   * @exception NullPointerException if the status bar is null
   * @exception NullPointerException if the content pane is null
   */
  public void removeStatusBar(StatusBar s) throws NullPointerException {

    javax.swing.JFrame f = (javax.swing.JFrame) getJavaObject();

    if (f != null) {

      if (s != null) {

        java.awt.Container cp = f.getContentPane();

        if (cp != null) {

          cp.remove((javax.swing.JLabel) s.getJavaObject());

        } else {

          throw new NullPointerException("Could not set status bar. The content pane is null.");
        }

      } else {

        throw new NullPointerException("Could not set status bar. The status bar is null.");
      }

    } else {

      throw new NullPointerException("Could not set status bar. The java frame is null.");
    }
  }
  /**
   * Removes the contents panel.
   *
   * @param c the contents panel
   * @exception NullPointerException if the java frame is null
   * @exception NullPointerException if the contents panel is null
   * @exception NullPointerException if the content pane is null
   */
  public void removeContentsPanel(ContentsPanel c) throws NullPointerException {

    javax.swing.JFrame f = (javax.swing.JFrame) getJavaObject();

    if (f != null) {

      if (c != null) {

        java.awt.Container cp = f.getContentPane();

        if (cp != null) {

          cp.remove((javax.swing.JPanel) c.getJavaObject());

        } else {

          throw new NullPointerException("Could not set contents panel. The content pane is null.");
        }

      } else {

        throw new NullPointerException("Could not set contents panel. The contents panel is null.");
      }

    } else {

      throw new NullPointerException("Could not set contents panel. The java frame is null.");
    }
  }
  /**
   * Removes the tool bar.
   *
   * @param t the tool bar
   * @exception NullPointerException if the java frame is null
   * @exception NullPointerException if the tool bar is null
   * @exception NullPointerException if the content pane is null
   */
  public void removeToolBar(ToolBar t) throws NullPointerException {

    javax.swing.JFrame f = (javax.swing.JFrame) getJavaObject();

    if (f != null) {

      if (t != null) {

        java.awt.Container cp = f.getContentPane();

        if (cp != null) {

          cp.remove((javax.swing.JToolBar) t.getJavaObject());

        } else {

          throw new NullPointerException("Could not set tool bar. The content pane is null.");
        }

      } else {

        throw new NullPointerException("Could not set tool bar. The tool bar is null.");
      }

    } else {

      throw new NullPointerException("Could not set tool bar. The java frame is null.");
    }
  }
  /**
   * Removes the resizable flag.
   *
   * @param r the resizable flag
   * @exception NullPointerException if the java frame is null
   * @exception NullPointerException if the resizable flag is null
   */
  public void removeResizable(Boolean r) throws NullPointerException {

    javax.swing.JFrame f = (javax.swing.JFrame) getJavaObject();

    if (f != null) {

      if (r != null) {

        f.setResizable(Boolean.FALSE);

      } else {

        throw new NullPointerException("Could not set resizable flag. The resizable flag is null.");
      }

    } else {

      throw new NullPointerException("Could not set resizable flag. The java frame is null.");
    }
  }
  /**
   * Removes the menu bar.
   *
   * @param m the menu bar
   * @exception NullPointerException if the java frame is null
   * @exception NullPointerException if the menu bar is null
   */
  public void removeMenuBar(MenuBar m) throws NullPointerException {

    javax.swing.JFrame f = (javax.swing.JFrame) getJavaObject();

    if (f != null) {

      if (m != null) {

        f.setJMenuBar(null);

      } else {

        throw new NullPointerException("Could not set menu bar. The menu bar is null.");
      }

    } else {

      throw new NullPointerException("Could not set menu bar. The java frame is null.");
    }
  }
  /**
   * Removes the title.
   *
   * @param t the title
   * @exception NullPointerException if the java frame is null
   * @exception NullPointerException if the title is null
   */
  public void removeTitle(String t) throws NullPointerException {

    javax.swing.JFrame f = (javax.swing.JFrame) getJavaObject();

    if (f != null) {

      if (t != null) {

        f.setTitle(null);

      } else {

        throw new NullPointerException("Could not set title. The title is null.");
      }

    } else {

      throw new NullPointerException("Could not set title. The java frame is null.");
    }
  }