I get a NullPointException error on the Int[] split line and I am not sure why.
import processing.serial.*;
Serial myPort; // The serial port
PFont Font; // The display font
String inString; // Input string from serial port
int nums; // Input string from serial port
int lf = 10; // ASCII linefeed
void setup() {
size(1024,768);
Font = loadFont("digital.vlw");
textFont(Font, 25);
println(Serial.list());
myPort = new Serial(this, Serial.list()[1], 9600);
myPort.bufferUntil(lf);