I downloaded processing both on my windows desktop and on my linux laptop to give the code a try and see how it works. When I paste the code from the website into processing under windows it runs fine as expected.
When I paste the same code in processing under linux it throws errors. The processing application starts fine under ubuntu but gives an error when running the exact same code that seems to be working just fine in windows!!!
Am I missing something? Shouldn't it work the same under both operating system since it is in processing under both?
This is the error I am getting in processing:
Exception in thread "Animation Thread" java.lang.ArrayIndexOutOfBoundsException: 0 at ColorPicker.setup(ColorPicker.java:43) at processing.core.PApplet.handleDraw(Unknown Source) at processing.core.PApplet.run(Unknown Source) at java.lang.Thread.run(Thread.java:662)
Can someone help please? I really would like to test this project in class and my laptop runs only ubuntu.