import java.awt.*;import java.awt.event.*;import java.applet.Applet;public class GuiLissaApplet extends Applet implements ActionListener {	LissaApplet lissa;	Panel ctrlp, xequp, yequp, dp, dtp, btnp;	TextField at, bt, f1t, f2t, dt, dtt;	Button btn;	public void init() {		lissa = new LissaApplet();		lissa.embeddedInit();		lissa.setParams(1, 1, 1, 2, Math.PI/4, .02);		ctrlp = new Panel();		ctrlp.setLayout(new ListLayout(6, 6));		xequp = new Panel();		xequp.setLayout(new FlowLayout(FlowLayout.LEFT));		xequp.add(new Label("x(t) ="));		xequp.add(at = new TextField("1", 3));		xequp.add(new Label("\u22C5 cos (")); //Malpunkt in Unicode		xequp.add(f1t = new TextField("1", 3));		xequp.add(new Label("\u22C5 t )"));		ctrlp.add(xequp);		yequp = new Panel();		yequp.setLayout(new FlowLayout(FlowLayout.LEFT));		yequp.add(new Label("y(t) ="));		yequp.add(bt = new TextField("1", 3));		yequp.add(new Label("\u22C5 cos ("));		yequp.add(f2t = new TextField("2", 3));		yequp.add(new Label("\u22C5 t +"));		yequp.add(dt = new TextField(".25", 3));		yequp.add(new Label("\u22C5 \u03C0 )")); //Kleines Pi in Unicode		ctrlp.add(yequp);		dtp = new Panel();		dtp.setLayout(new FlowLayout(FlowLayout.LEFT));		dtp.add(new Label("\u0394t:")); //Grosses Delta in Unicode		dtp.add(dtt = new TextField(".02", 3));		ctrlp.add(dtp);		btnp = new Panel();		btnp.setLayout(new FlowLayout(FlowLayout.RIGHT));		btnp.add(btn = new Button("Graph"));		ctrlp.add(btnp);		setLayout(new GridLayout(1, 2));		add(lissa);		add(ctrlp);		btn.addActionListener(this);		at.addActionListener(this);		bt.addActionListener(this);		f1t.addActionListener(this);		f2t.addActionListener(this);		dt.addActionListener(this);		dtt.addActionListener(this);	}		public void actionPerformed(ActionEvent e) {		lissa.setParams(at.getText(), bt.getText(), f1t.getText(), f2t.getText(), dt.getText() + " pi", dtt.getText());	}}