public String getTopicName(ActionEvent event) {
      if (topicName != null) {
         return topicName;
      }
      Object topic = getValue(EVENT_SERVICE_TOPIC_NAME);
      if (topic != null) {
         return topic + "";
      } else {
         topic = getValue("ID");
         if (topic != null) {
            return topic + "";
         } else {
            topic = getValue(Action.ACTION_COMMAND_KEY);
            if (topic != null) {
               return topic + "";
            } else {
               topic = event.getActionCommand();
               if (topic != null) {
                  return topic + "";
               } else {
                  return (String) getName();
               }
            }
         }
      }
   }