How to uniquely identify jpanel tabs under JTabbedPane ?

I have a four JPanel tabs under a JTabbedPane, I need them to using same resources i.e buttons ...e.t.c. My question, is there a way that i can set like SelectedIndex indentity or something of that kind to uniquely identify each JPanel that is inplay. Thanks in advance.

29th Dec 2016, 4:44 AM
Reuben Waithaka
Reuben Waithaka - avatar
1 Answer