]> git.mxchange.org Git - addressbook-lib.git/blobdiff - Addressbook/src/org/mxchange/addressbook/client/gui/ClientFrame.java
Introduced initTable()
[addressbook-lib.git] / Addressbook / src / org / mxchange / addressbook / client / gui / ClientFrame.java
index f0cc531062d875e8d920b7c0f660703d1e88f726..24bec9870cb0ac279e49ffbfd955efbad4fe2abd 100644 (file)
@@ -16,9 +16,9 @@
  */
 package org.mxchange.addressbook.client.gui;
 
-import org.mxchange.addressbook.FrameAlreadyInitializedException;
 import org.mxchange.addressbook.FrameworkInterface;
 import org.mxchange.addressbook.client.Client;
+import org.mxchange.addressbook.exceptions.FrameAlreadyInitializedException;
 
 /**
  * An interface for applications with a frame
@@ -33,8 +33,8 @@ public interface ClientFrame extends FrameworkInterface {
     public void doShutdown ();
 
     /**
-     * Setups the frame (and starts it). You have to call initFrame() before you
    * can call this method.
+     * Setups the frame (and starts it). You have to call init() before you
+ can call this method.
      * 
      * @param client Client instance
      */
@@ -43,9 +43,9 @@ public interface ClientFrame extends FrameworkInterface {
     /**
      * Initializes frame
      * 
-     * @throws org.mxchange.addressbook.FrameAlreadyInitializedException If this method has been called twice
+     * @throws org.mxchange.addressbook.exceptions.FrameAlreadyInitializedException If this method has been called twice
      */
-    public void initFrame () throws FrameAlreadyInitializedException;
+    public void init () throws FrameAlreadyInitializedException;
 
     /**
      * Returns field isInitialized. This flag indicates whether this frame has been initialized or not.
@@ -53,4 +53,6 @@ public interface ClientFrame extends FrameworkInterface {
      * @return Field isInitialized
      */
     public boolean isInitialized ();
+
+    public void shutdownApplication ();
 }