This discussion is archived
0 Replies Latest reply: Mar 17, 2011 7:14 AM by Antonio Sánchez RSS

Help with combo PropertyEditor in Netbeans GUIBuilder

Antonio Sánchez Newbie
Currently Being Moderated
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.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points