2015-11-06 94 views
2

重新安裝Eclipse,當我嘗試運行我的Applet(使用Proclipsing)時,AppletViewer顯示一個空白屏幕,並顯示「Start:applet not initialized」。有誰能幫我解決這個問題嗎?任何幫助深表感謝。未在Eclipse中初始化的Applet

package cells; 

import processing.core.PApplet; 


public class Cells extends PApplet { 
    public float vy=4; 
    public float vx=4; 
    public void setup() { 
     frameRate(100); 
     size(1000, 1000); 
     background(100); 
    } 

    public void draw() { 
    } 
} 

回答

0

嘗試把:

PApplet.main(new String[]{"Package name/Package location + name"}); 

public static void main(String[] args) { 
}