Hello,
I have a JTable with several columns and a JCombobox should appear if you
clicked on any cell of a one column.
Then in the combobox the first value should be the value which is in the
cell I clicked on.
Now I don't how I can set a listener which is being called by the cell and
its value so I can set the value of the cell in the combobox.
Any help would be greatly appreciated.
Ole
Manish Hatwalne - 03 Feb 2004 17:59 GMT
You'll have to make JComboBox as the cell editor. Read up more about this in
the Java Tutorial -
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#combob
ox
HTH,
- Manish
> Hello,
>
[quoted text clipped - 8 lines]
>
> Ole