code: @Override
      public int getDefaultPropertyIndex() {
          String defName = "";
          if ("".equals(defName)) {
              return -1;
          }
          PropertyDescriptor[] pd = getPropertyDescriptors();
          for (int i = 0; i < pd.length; i++) {
              if (pd[i].getName().equals(defName)) {
                  return i;
              }
          }
          return -1;
      }
docs: Gets the defaultPropertyIndex.
  
  @return The defaultPropertyIndex value