I am trying to add a JComboBox
to the last column of my JTable
. The JComboBox
isn't for editing purposes but for traversing the JTable
itself. Each row can have 0-many elements that need to go in the JComboBox
and when a value is selected from the box I need to scroll to a different row in the JTable
.
All the research I have done points me specifically to editors and renderers with the down fall being that data in the JComboBox
is set per column so that a user can select a value for the cell in the row. Where as I need values that are specific to the row.
So my question is, has anyone tried to do this before? and Can you point me to some good information on how to do this? or even better could you describe how you did this?