Package jadex.commons.gui
Class GuiCreator
- java.lang.Object
-
- jadex.commons.gui.GuiCreator
-
public class GuiCreator extends java.lang.Object
The gui creator. Note! The Gui cannot be itself a JFrame because this might lead to deadlocks. new JFrame() should only be called from Swing thread. As "new JFrame()" is content of a belief it is executed in the agent's thread.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.Component
gui
The gui.
-
Constructor Summary
Constructors Constructor Description GuiCreator(java.lang.Class<? extends java.awt.Component> clazz, java.lang.Class<?>[] argclasses, java.lang.Object[] args)
Create a new clock.GuiCreator(java.lang.reflect.Method createmethod, java.lang.Class<?>[] argclasses, java.lang.Object[] args)
Create a new clock.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Component
getGui()
Get the frame.
-
-
-
Constructor Detail
-
GuiCreator
public GuiCreator(java.lang.Class<? extends java.awt.Component> clazz, java.lang.Class<?>[] argclasses, java.lang.Object[] args)
Create a new clock.
-
GuiCreator
public GuiCreator(java.lang.reflect.Method createmethod, java.lang.Class<?>[] argclasses, java.lang.Object[] args)
Create a new clock.
-
-