0 Replies Latest reply: Mar 17, 2011 9:14 AM by Antonio Sánchez RSS

    Help with combo PropertyEditor in Netbeans GUIBuilder

    Antonio Sánchez
      Hi.

      I'm using a single custom PropertyEditor, just implementing getAsText, setAsText and getTags.

      But at selecting one of the combo options in Properties panel at design time it is generated uncompilable code like this (literally):
      myBean.setProperty(???);
      I need compilable code being generated like this:
      myBean.setProperty("myComboChoise");
      or even
      myBean.setProperty(new MyCustomComboChoiceClass());
      Please help. What am I doing wrong? Do I need to write any extra code beyond the standard of JavaBeans for BeanInfo and Introspection?

      Thanks and regards.
      Antonio.