From 0ceb28cb15a4c79029d98c6e94fc1fc94b317c60 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 2 Jun 2008 16:04:01 +0200 Subject: [PATCH] implement action listener interface --- src/net/pterodactylus/jsite/i18n/gui/I18nAction.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/net/pterodactylus/jsite/i18n/gui/I18nAction.java b/src/net/pterodactylus/jsite/i18n/gui/I18nAction.java index 8904368..d83cd7f 100644 --- a/src/net/pterodactylus/jsite/i18n/gui/I18nAction.java +++ b/src/net/pterodactylus/jsite/i18n/gui/I18nAction.java @@ -1,6 +1,7 @@ - package net.pterodactylus.jsite.i18n.gui; +import java.awt.event.ActionListener; + import javax.swing.AbstractAction; import javax.swing.Action; import javax.swing.Icon; @@ -13,7 +14,7 @@ import net.pterodactylus.jsite.i18n.I18nable; * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ -public abstract class I18nAction extends AbstractAction implements I18nable { +public abstract class I18nAction extends AbstractAction implements I18nable, ActionListener { /** The I18n basename. */ private final String i18nName; @@ -86,4 +87,4 @@ public abstract class I18nAction extends AbstractAction implements I18nable { putValue(Action.LONG_DESCRIPTION, I18n.get(i18nName + ".longDescription")); } -} \ No newline at end of file +} -- 2.7.4