I have a JTabbedPane in which new tab are added by reading lines of a file. In each tab I have a JScrollPane with a JTable jScrollPane.add(jTable); Since these are created on the fly I do not know which tab will be selected and therefore must access the JTable by accessing the JScrollPane. I can access the JScrollPane alright, but do not know how to access the JTable inside this JScrollPane. Any ideas?
Joined: Dec 27, 2002
I have found the solution, but thank you anyway, in case someone else asks the question