130131132133134135136137138
private JMenuItem getStartMenuItem() { if (startMenuItem == null) { startMenuItem = new JMenuItem(); startMenuItem.setText(_(START)); startMenuItem.addActionListener(new StartActionListener(mainPanel)); } return startMenuItem; }
123124125126127128129130131
private JButton getStartButton() { if (startButton == null) { startButton = new JButton(); startButton.setText(_(START)); startButton.addActionListener(new StartActionListener(this)); } return startButton; }