Hi all,
I'm trying to generate a Bean Info class with netbeans, I've set the preferred fields with the Bean editor from Netbeans.
Now when I use the designer I can right click and in the binding menu the preferred fields are shown and I can set up every thing nicely. But, if I bind a JTable, to my custom widget (it's a combobox that inherits from JComponent) and bind it to the selectedItem, the class that is returned is a plain Object. Im unable to see the fields of the Object that is in the selectedElement field.
JCombobox, JTable and all the others will show the fields from the object that is in the selectedElement field.
How can I achieve the same with my widget? It consists of a JFormattedTextField, a JButton, a JList and a JPopupMenu.
The methods used to set the data are setSelectedElement(Object object) and setElements(List list)
The getters are Object getSelectedElement() and getElements()
Thank you for your time an greetings