- final JButton btnNewButton_1 = new JButton("Demo 2");
- Action action_1 = new SwingAction_1();
- btnNewButton_1.setAction(action_1);
-
- final JButton button = new JButton("New button");
- Action action_2 = new SwingAction_2();
- button.setAction(action_2);
-
- final JButton btnNewButton_2 = new JButton("New button");
- Action action_3 = new SwingAction_3();
- btnNewButton_2.setAction(action_3);
-
- final JButton btnNewButton_3 = new JButton("New button");
- Action action_4 = new SwingAction_4();
- btnNewButton_3.setAction(action_4);
-
- final JButton btnNewButton_4 = new JButton("New button");
- Action action_5 = new SwingAction_5();
- btnNewButton_4.setAction(action_5);