jadex.bdi.planlib
Class GuiCreator

java.lang.Object
  extended by jadex.bdi.planlib.GuiCreator

public class GuiCreator
extends 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
protected  JFrame frame
          The gui.
 
Constructor Summary
GuiCreator(Class frameclass, Class[] argclasses, Object[] args)
          Create a new clock.
GuiCreator(Method createmethod, Class[] argclasses, Object[] args)
          Create a new clock.
 
Method Summary
 JFrame getFrame()
          Get the frame.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frame

protected JFrame frame
The gui.

Constructor Detail

GuiCreator

public GuiCreator(Class frameclass,
                  Class[] argclasses,
                  Object[] args)
Create a new clock.


GuiCreator

public GuiCreator(Method createmethod,
                  Class[] argclasses,
                  Object[] args)
Create a new clock.

Method Detail

getFrame

public JFrame getFrame()
Get the frame.

Returns:
The frame.


Copyright © 2010. All Rights Reserved.