It is necessary that by clicking on the button in the application window, the second tab opens with certain data.
Considering the following options for implementation:
- When you click on the button to create a new tab with the necessary information.
- When you click on the button, display the necessary information on the second tab and switch to it in the application.
But how to do this, given the fact that I am writing a program in Netbeans and the interface is made in a graphical editor?