2007-05-02 01:07:00 +00:00
|
|
|
/*
|
|
|
|
* $Id: AseAwkApplet.java,v 1.1 2007/04/30 08:32:41 bacon Exp $
|
|
|
|
*/
|
|
|
|
|
|
|
|
import java.applet.*;
|
|
|
|
import java.awt.*;
|
|
|
|
import java.awt.event.*;
|
|
|
|
|
|
|
|
public class AseAwkApplet extends Applet
|
|
|
|
{
|
|
|
|
AseAwkPanel awkPanel;
|
|
|
|
|
|
|
|
public void init ()
|
|
|
|
{
|
|
|
|
awkPanel = new AseAwkPanel ();
|
|
|
|
|
|
|
|
setLayout (new BorderLayout ());
|
|
|
|
add (awkPanel, BorderLayout.CENTER);
|
|
|
|
}
|
|
|
|
|
|
|
|
public void stop () {}
|
|
|
|
public void paint (Graphics g) {}
|
2007-12-01 09:30:03 +00:00
|
|
|
|
|
|
|
public void setConsoleInput (String str)
|
|
|
|
{
|
|
|
|
awkPanel.setConsoleInput (str);
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSourceInput (String str)
|
|
|
|
{
|
|
|
|
awkPanel.setSourceInput (str);
|
|
|
|
}
|
|
|
|
|
|
|
|
public void clear ()
|
|
|
|
{
|
|
|
|
awkPanel.clear ();
|
|
|
|
}
|
2007-05-02 01:07:00 +00:00
|
|
|
}
|