From: David ‘Bombe’ Roden Date: Mon, 2 Jun 2008 14:04:01 +0000 (+0200) Subject: implement action listener interface X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0ceb28cb15a4c79029d98c6e94fc1fc94b317c60;p=jSite2.git implement action listener interface --- 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 +}