import java.awt.*; import java.applet.*; public class lauftext1 extends Applet { static int x=0; public void paint(Graphics g) { Font ft2=new Font("Courier",Font.ITALIC,20); g.setFont(ft2); g.setColor(Color.blue); g.drawString("Dies ist ein Text zum Testen!",x,60); x++; if (x>600) x=0; try{Thread.sleep(10);} catch(Exception e) {}; repaint(); } }