在Java中从命令行运行/编译PApplet

时间:2015-09-24 19:54:04

标签: java applet

我有以下代码,我可以在IntelliJ中作为applet正常运行。如何从命令行编译并运行它?

package guiModule;

import processing.core.PApplet;

/**
 * Created by Taylor on 9/24/2015.
 */
public class MyDisplay extends PApplet {
    public void setup() {
        size(400, 400);
        background(0,255,0);
    }

    public void draw() {

    }
}

0 个答案:

没有答案