/** * Answer to question. * * -Q: Instead of adding to the frame two different buttons, add twice the same * button object. Run the program. What happens? * * -A: Only one button is added to the frame. * */ public class Start { public static void main(String[] args) { // Dispather javax.swing.SwingUtilities.invokeLater(new Runnable() { @Override public void run() { new MyFrame(); } }); } }