I have TableListBox + InstrumentTableModel which create a list of selectable items.
What I want to achieve is that the list only reacts to mouse clicks, but does NOT grab keyboard focus. For some reason I can’t achieve this functionality. No amount of tweaking/combination of the below methods for TableListBox nor InstrumentTableModel seems to do the trick:
So if the above methods don’t help with the situation, is there something else I’m missing?
The only outcomes I’ve managed to get are that either nothing in the list gets selected by the mouse and thus the keyboard focus stays elsewhere (where it should stay) OR a list element gets selected and the keyboard focus goes into the list, which is not what I want.