| java.lang.Object net.fenyo.gnetwatch.GUI.AwtGUI
AwtGUI | public class AwtGUI implements Runnable(Code) | | This class creates JFrame instances outside of SWT, to allow use of Java2D API.
author: Alexandre Fenyo version: $Id: AwtGUI.java,v 1.12 2007/03/03 00:38:19 fenyo Exp $ |
Constructor Summary | |
public | AwtGUI(Config config) Constructor. |
Method Summary | |
public void | createAwtGUI() Creates a thread that will repaint each frame regularly.
none. | public JFrame | createFrame(String name, BasicComponent component) Adds a component to a frame and displays the frame. | public void | dropFrame(JFrame frame) Removes an AWT frame.
Parameters: frame - frame to remove. | public void | end() Terminates the repaint thread and closes any frame.
none. | public void | run() Refreshes the frames regularly.
none. |
AwtGUI | public AwtGUI(Config config)(Code) | | Constructor.
Parameters: config - configuration. |
createAwtGUI | public void createAwtGUI()(Code) | | Creates a thread that will repaint each frame regularly.
none. void. |
dropFrame | public void dropFrame(JFrame frame)(Code) | | Removes an AWT frame.
Parameters: frame - frame to remove. void. |
run | public void run()(Code) | | Refreshes the frames regularly.
none. void. |
|
|