void setupUI(){ //UI label = new PLabel("Options"); label.calculateBounds(0, 0, width, height); label.setBounds(0, 0, width, label.height); int y = label.y + label.height; options= new PContainer(); // options.bgColor=color(0); options.setBounds(0, 0, width, height); options.add(label); list = new PList(); list.setBounds(0, y, width , height - y); list.add("About"); list.add("Vibe Speed"); list.add("Vibe Frequency"); list.add("Back"); list.add("Exit Program"); options.add(list); options.initialize(); //UI Speeds speeds= new PContainer(); speeds.setBounds(width/2, 0, width, y*3); speeds.add(label); slist = new PList(); slist.setBounds(width/2, y, width , y*3); slist.add("Low"); slist.add("Medium"); slist.add("High"); speeds.add(slist); speeds.initialize(); //UI freq freq= new PContainer(); freq.setBounds(width/2, 0, width, y*5); freq.add(label); flist = new PList(); flist.setBounds(width/2, y, width, y*5); flist.add("05 min"); flist.add("10 min"); flist.add("15 min"); flist.add("30 min"); flist.add("60 min"); freq.add(flist); freq.initialize(); //UI freq about= new PContainer(); about.setBounds(0, 0, width, height); about.add(label); alist = new PList(); alist.setBounds(0, y, width, height-y); alist.add("Haptic Clock is "); about.add(alist); about.initialize(); }