|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.application.AbstractBean
org.jdesktop.application.Application
org.jdesktop.application.SingleFrameApplication
examples.chat.client.gui.ChatGUI
public class ChatGUI
The main class of the GUI. It implements the ChatServer interface in order to provide SCA service to the GUI.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jdesktop.application.Application |
|---|
org.jdesktop.application.Application.ExitListener |
| Constructor Summary | |
|---|---|
ChatGUI()
Default constructor. |
|
| Method Summary | |
|---|---|
protected void |
configureWindow(Window root)
This method is to initialize the specified window by injecting resources. |
static ChatGUI |
getApplication()
A convenient static getter for the application instance. |
static Chat |
getChatService()
A convenient static getter for the chat service. |
static void |
main(String[] args)
Main method launching the application. |
void |
run()
|
protected void |
startup()
At startup create and show the main frame of the application. |
| Methods inherited from class org.jdesktop.application.SingleFrameApplication |
|---|
getMainFrame, getMainView, setMainFrame, show, show, show, show, shutdown |
| Methods inherited from class org.jdesktop.application.Application |
|---|
addExitListener, end, exit, exit, getContext, getExitListeners, getInstance, getInstance, hide, initialize, launch, quit, ready, removeExitListener |
| Methods inherited from class org.jdesktop.application.AbstractBean |
|---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChatGUI()
| Method Detail |
|---|
protected final void startup()
startup in class org.jdesktop.application.Applicationprotected final void configureWindow(Window root)
configureWindow in class org.jdesktop.application.SingleFrameApplicationpublic static ChatGUI getApplication()
public static Chat getChatService()
public final void run()
run in interface Runnable
public static void main(String[] args)
throws org.ow2.frascati.util.FrascatiException
org.ow2.frascati.util.FrascatiException - if the SCA factory or the composite cannot be loaded
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||