@artifact.package@import griffon.plugins.processing.artifact.AbstractGriffonProcessingView;

public class @artifact.name@ extends AbstractGriffonProcessingView {
    private float y = 100;

    // The statements in the setup() function 
    // execute once when the program begins
    public void setup() {
        size(200, 200);  // Size should be the first statement
        stroke(255);     // Set line drawing color to white
        frameRate(30);
    }

    // The statements in draw() are executed until the 
    // program is stopped. Each statement is executed in 
    // sequence and after the last line is read, the first 
    // line is executed again.
    public void draw() {
        background(0);   // Set the background to black
        y = y - 1; 
        if (y < 0) { y = height; } 
        line(0, y, width, y); 
    }
}

@@ -155,16 +155,334 @@
 gView %7B%0A
+    public @artifact.name.plain@Model model;%0A    public @artifact.name.plain@Controller controller;%0A%0A    public void setModel(@artifact.name.plain@Model model) %7B%0A        this.model = model;%0A    %7D%0A%0A    public void setController(@artifact.name.plain@Controller controller) %7B%0A        this.controller = controller;%0A    %7D%0A%0A
     priv

upgrade to Griffon 0.9.2