/**
     * callback for action events Such events occur, if someone clicked the JCheckBox control, on
     * which we are registered. Such events do not occur, if we set it programmatically (e.g. if we
     * get status events to -> see class StatusListener too)
     *
     * @param aEvent describes the check box and its state we can use to toogle the requested office
     *     resource.
     */
    public void actionPerformed(ActionEvent aEvent) {
      synchronized (this) {
        if (m_xFrame == null) return;
      }

      // define parameters for following dispatch
      boolean bState = ((JCheckBox) aEvent.getSource()).isSelected();

      // prepare the dispatch
      com.sun.star.util.URL aURL = FunctionHelper.parseURL(m_sURL);
      if (aURL == null) return;

      com.sun.star.beans.PropertyValue[] lProperties = new com.sun.star.beans.PropertyValue[1];
      lProperties[0] = new com.sun.star.beans.PropertyValue();
      lProperties[0].Name = m_sProp;
      lProperties[0].Value = new Boolean(bState);

      // execute (dispatch) it into the frame
      if (m_xFrame == null) return;
      FunctionHelper.execute(m_xFrame, aURL, lProperties, null);
    }