Greetings everyone! I hope someone can help me with this doubt!
I have a jTabbedPane with one tab and several components in it (example: one label and one button). I have a button outside of the jTabbedPane which makes a new tab appear in the jTabbedPane (additional to the existing one)
Is there a way to make the new tab to contain a label and a button like the previous tab? I mean to keep adding tabs to the jTabbedPane and make all this tabs to contain a label and a button?