import controlP5.*; String[][] s = new String[3][]; ControlP5 controlP5; ListBox l; void setup() { size(400,400); controlP5 = new ControlP5(this); l = controlP5.addListBox("myList",100,100,120,150); // l.actAsPulldownMenu(true); l.setItemHeight(23); s[0] = new String[] { "a","b","c","d" }; s[1] = new String[] { "a","b","c","d","e","f","g","h","i","j","k","l","m","n" }; s[2] = new String[] { "l","m","n" }; for(int i=0;i "+theEvent.getGroup().getValue()); int n = int(theEvent.getGroup().getValue()); println("\t\t group:"+(n >> 8 & 0xff)+", item:"+(n >> 0 & 0xff)); } }