| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
package org.homeunix.thecave.buddi.view.menu.items; |
| 5 | |
|
| 6 | |
import java.awt.event.ActionEvent; |
| 7 | |
|
| 8 | |
import org.homeunix.thecave.buddi.i18n.keys.MenuKeys; |
| 9 | |
import org.homeunix.thecave.buddi.model.prefs.PrefsModel; |
| 10 | |
import org.homeunix.thecave.buddi.view.AboutFrame; |
| 11 | |
|
| 12 | |
import ca.digitalcave.moss.swing.MossFrame; |
| 13 | |
import ca.digitalcave.moss.swing.MossMenuItem; |
| 14 | |
import ca.digitalcave.moss.swing.exception.WindowOpenException; |
| 15 | |
|
| 16 | |
public class HelpAbout extends MossMenuItem { |
| 17 | |
public static final long serialVersionUID = 0; |
| 18 | |
|
| 19 | |
public HelpAbout(MossFrame frame) { |
| 20 | 5975 | super(frame, PrefsModel.getInstance().getTranslator().get(MenuKeys.MENU_HELP_ABOUT)); |
| 21 | 5975 | } |
| 22 | |
|
| 23 | |
public void actionPerformed(ActionEvent e) { |
| 24 | |
try { |
| 25 | 423 | new AboutFrame().openWindow(); |
| 26 | |
} |
| 27 | 410 | catch (WindowOpenException foe){} |
| 28 | 423 | } |
| 29 | |
} |