package org.mxchange.addressbook.client.gui;\r
\r
import org.mxchange.addressbook.UnhandledUserChoiceException;\r
-import org.mxchange.addressbook.application.AddressbookApplication;\r
+import org.mxchange.addressbook.application.Application;\r
import org.mxchange.addressbook.client.BaseClient;\r
import org.mxchange.addressbook.client.Client;\r
import org.mxchange.addressbook.contact.Contact;\r
* Constructor with application instance\r
* @param application \r
*/\r
- public SwingClient (final AddressbookApplication application) {\r
+ public SwingClient (final Application application) {\r
super();\r
\r
// Set application instance\r
* @param accessKey Key to access the menu\r
* @param text Text to show to user\r
* @return A SelectableMenuItem\r
- * @todo Make sure the access key is unique\r
*/\r
@Override\r
public SelectableMenuItem getMenuItem (final char accessKey, final String text) {\r
this.initContactManager();\r
\r
// Now start the frame\r
- this.frame.initFrame(this);\r
+ this.frame.setupFrame(this);\r
}\r
\r
@Override\r