We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Controller 001 alpha not working
Page Index Toggle Pages: 1
Controller 001 alpha not working (Read 786 times)
Controller 001 alpha not working
Aug 30th, 2005, 3:50am
 
I'm trying to work with the Controller GUI Ariel made (http://www.processing.co.il/toolkit/controller/) but I ran into a weird problem.

First of all, when I try to run the simplest program, P5 dies completely.

Code:

Controller controller;

void setup(){
controller = new Controller(this, "hsliders: 1");
}

void draw(){
background(controller.hsliders.get(0).getValue() * 255);
}




Then, when I go to Sketch/Import Library/controller nothing happends although I put the controller.jar in processing\libraries\controller\library\ .

Any help ?
Re: Controller 001 alpha not working
Reply #1 - Aug 30th, 2005, 7:14am
 
It doesn't look like the jar file is a library for Processing but rather a jar file to include with your project.

The instructions to include Controller into Processing are as follows:

[cut and paste from http://www.processing.co.il/toolkit/controller/]

The first thing to do is to download controller.jar (~29K) which contains the required Java classes. Then, each time you want to add Controller to one of your sketches: go the the "Sketch" menu, choose "Add file...", and add "controller.jar".

Hope that helps...
Re: Controller 001 alpha not working
Reply #2 - Aug 30th, 2005, 4:19pm
 
that code was written for the alpha version of processing, i don't think he's yet updated it to use the beta syntax, so it won't work until it gets updated.
Page Index Toggle Pages: 1