Hi,
I have a split container in my frame where the right container has a Jtable and left is filled with different collapse panels displaying detailed data from different parts of the table.
If the user clicks on a column then a collapse panel expands and display the information
If all the collapse panels are expanded then the user should scroll to see information.
Is there a way where the user clicks a column in the table and focus automatically shifts to it's repective panel from the current?
for example if I'm now in the viewing information in the first collapse panel and user clicks a column which refers to the collapse panel which at the end, then the program automatically should directly go (scroll down) to that panel so the focus should be shifted to the panel which is at the end.
I hope I did confuse you.
Basically I would like to know how to shift the focus from one component to other dynamically.
thanks in advance