Hello good day. Thank you for trying to help.
My problem is as follows. A few columns in my table, use a JComboBox as the editor for their cells. Each cell, in a row (via JComboBox) presents the same choices to the user. The user is allowed to choose from the options, just not the same option more than once for that row.
That being said what I wish to accopmlish is this: Whenever selections are made from any JComboBox the next cells should present as options the remaining unselected choices.
So basically whenever a particular choice is made, I want that option to disappear from the other JComboBox editors.
(I have thought about checking what the value is in the JComboBox, creating another JComboBox using the remaining choices, then setting that JComboBox as the new table cell editor; but there's got to be a simpler solution).
May I please ask, how do I go about doing this please?