views:

13

answers:

0

Hello, you can reference this question for the initial problem: http://stackoverflow.com/q/3826264 .

This table consists of cells that are both editable and not editable. For some reason, clicking on the cell editor that contains the JPanel with the JComboBox after clicking on a non-editable cell does not bring the cell into edit mode. However, clicking on the cell after clicking on an editable cell, things seem to be working fine (the focus goes into the JComboBox contained on the JPanel of the cellEditor).

Another problem I'm running into is that this Table is on a Panel that has other editable fields. Tabbing through the table works as intended unless the focus is in the JComboBox on the JPanel in the cell editor. Pressing tab causes the table to lose focus, and focuses on the first editable field on the JPanel that contains the table. What am I missing?