I want to create a hidden button in netbeans. Suppose if I click the "Next" button, then a new "Exit" button will appear in the same jFrame. Until I click the "Next" button, the "Exit" button will not be displayed. So how to do this? I mean, how to make a button that is included by default in .setVisible (false) in netbeans?
Please help me solve this problem.
source share