X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Addressbook%2Fsrc%2Forg%2Fmxchange%2Faddressbook%2Fclient%2Fgui%2FSwingClient.java;h=4a51c942ac06cfac31c83eccd2ca2410943b490c;hb=e48af74ac9a6c205711d04b4cf9bd9086546e8e9;hp=3aec6e512709d1af27cbf16f244081cb3ac1c8a8;hpb=a70fc72c759db67b3be9319e812dfffeb2d68a50;p=jaddressbook-lib.git diff --git a/Addressbook/src/org/mxchange/addressbook/client/gui/SwingClient.java b/Addressbook/src/org/mxchange/addressbook/client/gui/SwingClient.java index 3aec6e51..4a51c942 100644 --- a/Addressbook/src/org/mxchange/addressbook/client/gui/SwingClient.java +++ b/Addressbook/src/org/mxchange/addressbook/client/gui/SwingClient.java @@ -17,7 +17,7 @@ package org.mxchange.addressbook.client.gui; import org.mxchange.addressbook.UnhandledUserChoiceException; -import org.mxchange.addressbook.application.AddressbookApplication; +import org.mxchange.addressbook.application.Application; import org.mxchange.addressbook.client.BaseClient; import org.mxchange.addressbook.client.Client; import org.mxchange.addressbook.contact.Contact; @@ -38,7 +38,7 @@ public class SwingClient extends BaseClient implements Client { * Constructor with application instance * @param application */ - public SwingClient (final AddressbookApplication application) { + public SwingClient (final Application application) { super(); // Set application instance @@ -102,7 +102,6 @@ public class SwingClient extends BaseClient implements Client { * @param accessKey Key to access the menu * @param text Text to show to user * @return A SelectableMenuItem - * @todo Make sure the access key is unique */ @Override public SelectableMenuItem getMenuItem (final char accessKey, final String text) { @@ -119,7 +118,7 @@ public class SwingClient extends BaseClient implements Client { this.initContactManager(); // Now start the frame - this.frame.initFrame(this); + this.frame.setupFrame(this); } @Override