I'm creating an app with JTabbedpane and I made a function that adds tabs with a click of a button. The tabs contain JTrees. After I add tabs I want to be able to add nodes to the trees in the tabs.
Now, because tabs and trees are created programmatically, how can I access a specific JTree in a specific tab so I can add nodes to it?
Thanks in advance.