Quantcast
Channel: Processing Forum
Browsing all 1768 articles
Browse latest View live

Problem with 3D in processing and java

Hi everyone!  I've a problem with processing: when I try to compile this code package prove; import javax.swing.JFrame; import processing.core.*;  /**  *  * @author Famiglia  */ public class Prove...

View Article


Re : Problem with 3D in processing and java

Seems you're missing the opengl imports.

View Article


Re : Problem with 3D in processing and java

Perhaps you have the wrong OpenGL libraries in your build path.

View Article

Re : Sound with Minim no longer works

Something easier:download the last and official version of oracle java: jdk-7u21-linux-i586.tar.gz (in my case it's for Linux Mint 14 Nadia 32 bit)Uncompress the file, copy into the processing 2.08b...

View Article

Re : 'NullPointerException' in Capture example (Mac osx 10.8.* mountain lion...

I have the same problem. Have you tried to check the source code of .list() method? I cannot find the Capture class in the Javadoc. 

View Article


Re : 'NullPointerException' in Capture example (Mac osx 10.8.* mountain lion...

try other devices from list, for me in my mac book it worked with:video = new Capture(this, width, height, "DVCPRO HD (720p25/50)", 30);

View Article

Re : ArrayIndexOutOfBoundsException: 1405654

Thank you very much.I am trying to run the program with opengl, however it doesn't seem to be working. I cannot find the opengl library anywhere in my processing folders. I am on a HP Dv7 laptop with...

View Article

Issues regarding to Client class

Hello,This is my first post in this forum.I'm writing an sketch to poll an XML file from a webserver and I've successfully implemented the Client class. My issue comes when the webserver is missing,...

View Article


Image may be NSFW.
Clik here to view.

Re : Issues regarding to Client class

The laziest solution is test whether the variable responsible to store an object's instance is null after the attempt!  

View Article


Re : Issues regarding to Client class

I assume that the sketch throws an exception when attempting to access the webserver when it is unavailable.Java prvides the try-catch construct which will catch an exception and allow the user to...

View Article

Re : ArrayIndexOutOfBoundsException: 1405654

windows? which version?jogl libraries (java bindings for opengl) are bundled with processing, i believe. opengl drivers might need downloading. i'm on processing 1.5.1 on linux using nvidia card so...

View Article

Re : Issues regarding to Client class

Hello,I've already written as you suggest, but Client class doesn't throw an exception. Indeed, the application freezes for a few seconds and afterwards I get an answer at the command prompt showing...

View Article

Music with minim-processing 2.

Hi,I have built multiple programs with music using minim with processing. However, I just downloaded the newest version, processing 2, and the player is not working. I get a message saying...

View Article


Re : Music with minim-processing 2.

Works for me...Processing 2.0b9, Windows 7, sketch Examples > Libraries > Minim > PlayAFile

View Article

Re : Issues regarding to Client class

Thanks, quarks, for you post! I'm looking some more information about the way to handle exceptions inside the Client class. As I've written, my problem comes whenever there is no webserver available:...

View Article


Re : Issues regarding to Client class

Thanks, quarks, for you post! I'm looking some more information about the way to handle exceptions inside the Client class. As I've written, my problem comes whenever there is no webserver available:...

View Article

Re : Issues regarding to Client class

1) You might want to use a thread.3) As said, if there is a problem, the client is null.Processing generally doesn't let exceptions to be exposed, so try / catch is useless most of the time (new APIs...

View Article


Re : Issues regarding to Client class

Thanks, PhiLho!I'm a newbee in Processing. How can I implement a thread in Processing?Have you any example or link to show how is java.net.Socket implementation?SAM

View Article

Re : Issues regarding to Client class

This post has some links related to Thread:http://forum.processing.org/topic/interrupt-a-thread#25080000002163009

View Article

Re : Issues regarding to Client class

Well, https://github.com/processing/processing/blob/master/java/libraries/net/src/processing/net/Client.java uses both Thread and Socket, from what I see at the top of the source... Looks like a good...

View Article
Browsing all 1768 articles
Browse latest View live