mercredi 3 août 2016

Java processing applet not running

When I try to run my java code for processing it shows an error "selection does not contain applet". This is how I am supposed to run my code.

Here is my code:

package proccesing;
import processing.core.*;

public class proccesing extends PApplet {

    public void setup() {
        background(100,100);
    }

    public void draw() {
        line(0,0,0,100);
    }
}

Aucun commentaire:

Enregistrer un commentaire