I want to implement a properties table in jtable (swing).
I want to have e.g.
**
2 column table
Row1: Property-text| Txtbox. Row2:
Property-text| ComboBox of values
A,B,C. Row3: Property-text| Txtbox.
Row4: Property-text| ComboBox of
values E,F,G.
**
I can not understand how to get this started. I am using Netbeans.
I need to implement a celltableeditor or what?
Thanks
The first example shows how you can specify a different editor for each row in the table:
The second example shows how you can create a very basic property editor (although it doesn’t support combo boxes):
You should be able achieve what you want by using the suggestions from one or both of the above examples.