Sorry, I'm confused- why do you want to add a JButton inside the if statement? Do you mean you want to set the text of a JButton? Or do you mean you want to add the ActionListener to another JButton?
Type: Posts; User: KevinWorkman
Sorry, I'm confused- why do you want to add a JButton inside the if statement? Do you mean you want to set the text of a JButton? Or do you mean you want to add the ActionListener to another JButton?
What's your question? What have you tried?