For some reason when I export my processing sketch, the applet will not start after I open index.html. The area that should be my sketch is only white. Also, I have tried exporting other sketches and they work fine.
Here's my code:
import processing.serial.*;
import cc.arduino.*;
Arduino arduino;
color off = color(4, 79, 111);
color on = color(84, 145, 158);
int maxval, val;
void setup() {
size(470, 280);
arduino = new Arduino(this, "COM3", 9600);
arduino.pinMode(0, Arduino.INPUT);
}