showError("Please set an address first");
}
Object[] args1 = {"javaosc-example", new Integer(node1),
new Integer(1), new Integer(0)};
OSCMessage msg1 = new OSCMessage("/s_new", args1);
Object[] args2 = {"javaosc-example", new Integer(node2),
new Integer(1), new Integer(0)};
OSCMessage msg2 = new OSCMessage("/s_new", args2);
Object[] args3 = {"javaosc-example", new Integer(node3),
new Integer(1), new Integer(0)};
OSCMessage msg3 = new OSCMessage("/s_new", args3);
try {
oscPort.send(msg1);
} catch (Exception e) {
showError("Couldn't send");