Hi guys;
in my java program i'm trying to implement the following functionality :

I have a JTabbedPane to which i'm adding components dynamically (at runtime).
I have a JComboBox that i want to associate each time to the JTabbedPane selected component:
i.e. each time i select a component i want to fill the comboBox with items that are related to this selected JTabbedPane component.

can u tell me how to do this ?

please help !