Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
jorgeHX hat gesagt.:hi, also ich will schon mit der Maus malen....
Hättest du da noch mehr ideen?
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
public class Mausfrei extends Applet implements MouseMotionListener {
int xa ;
int ya ;
public void init() {
addMouseMotionListener( this );
}
public void paint( Graphics g ) {
g.fillOval( xa, ya, 5, 5);
}
public void mouseDragged( MouseEvent mE ) {
int x = mE.getX();
int y = mE.getY();
xa = x;
ya = y;
repaint(xa, ya, 5, 5);
}
public void mouseMoved( MouseEvent mE ) {}
}