X-Git-Url: https://git.pterodactylus.net/?p=jkeytool.git;a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjkeytool%2Fgui%2Fswing%2FSwingInterface.java;h=4d287d9e7893dae60f071a27ca89970a2eaa0278;hp=388846d75724142cef087a82cdc594e599c2c5fd;hb=93811f6061a8da43bd50cf04cffcc150d465f845;hpb=3ff8f90ee15996fd8651c54ac50057ecda897719 diff --git a/src/net/pterodactylus/jkeytool/gui/swing/SwingInterface.java b/src/net/pterodactylus/jkeytool/gui/swing/SwingInterface.java index 388846d..4d287d9 100644 --- a/src/net/pterodactylus/jkeytool/gui/swing/SwingInterface.java +++ b/src/net/pterodactylus/jkeytool/gui/swing/SwingInterface.java @@ -22,6 +22,7 @@ package net.pterodactylus.jkeytool.gui.swing; import java.io.File; import java.security.KeyStore; +import net.pterodactylus.jkeytool.core.Core; import net.pterodactylus.jkeytool.gui.Interface; /** @@ -31,11 +32,24 @@ import net.pterodactylus.jkeytool.gui.Interface; */ public class SwingInterface implements Interface { + /** The core to control. */ + private Core core; + // // INTERFACE Interface // /** + * Sets the core to control. + * + * @param core + * The core to control + */ + public void setCore(Core core) { + this.core = core; + } + + /** * {@inheritDoc} */ public void start() {