*/\r
package org.mxchange.addressbook.client.gui;\r
\r
+import org.mxchange.addressbook.FrameAlreadyInitializedException;\r
import org.mxchange.addressbook.FrameworkInterface;\r
import org.mxchange.addressbook.client.Client;\r
\r
/**\r
+ * An interface for applications with a frame\r
*\r
* @author Roland Haeder\r
*/\r
public interface ClientFrame extends FrameworkInterface {\r
-\r
- /**\r
- * From JFrame\r
- * \r
- * @param visible Set visibility\r
- */\r
- public void setVisible (boolean visible);\r
-\r
/**\r
* Setups the frame (and starts it). You have to call initFrame() before you\r
* can call this method.\r
\r
/**\r
* Initializes frame\r
+ * \r
+ * @throws org.mxchange.addressbook.FrameAlreadyInitializedException If this method has been called twice\r
+ */\r
+ public void initFrame () throws FrameAlreadyInitializedException;\r
+\r
+ /**\r
+ * Returns field isInitialized. This flag indicates whether this frame has been initialized or not.\r
+ * \r
+ * @return Field isInitialized\r
*/\r
- public void initFrame ();\r
+ public boolean isInitialized ();\r
}\r