Listing Nine

package mybeans;

import java.beans.PropertyEditorSupport;

//
//
// TextCaseListPropertyEditor
//
// This class implements a drop-down list editor for the textCase property.
// This editor will appear in the bean's property sheet.
//

public class TextCaseListPropertyEditor extends TextCaseTextPropertyEditor
{
  //-------------------------------------------------------------------
  // Use a dropdown list to provide available choices for the property
  public String[] getTags() {
    return tags;
  }
}

