0
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.
1 Respuesta
0
https://docs.oracle.com/javase/tutorial/uiswing/components/tabbedpane.html
Tose tutorials are always helpful.
https://docs.oracle.com/javase/8/docs/api/javax/swing/JTabbedPane.html#setSelectedIndex-int-
The method you're looking for.