As you know i am new in java.I want to create a Two frame.Frame A and Frame B and both have button BB. When Frame A is run and click the button BB then Frame B is show and Frame is Close.
Are you able to write the program so Frame A and B show up with a button in each of them? Once you do that, you'll need to explore the JButton.addActionListener() method.