guysnape
YaBB Newbies
Offline
Posts: 2
Newbie library question
Nov 19th , 2008, 1:28pm
First off, respect to the creators of this fantastic piece of software. And forgive me if this isn't the right forum for a beginner question like this, please do point me in the right direction. I'm trying to play around with http://www.aharef.info/static/htmlgraph/sourcecode.html - the first few lines are as follows: import traer.physics.*; import traer.animation.*; import java.util.Iterator; import java.util.ArrayList; import java.util.HashMap; import processing.net.*; import org.htmlparser.*; import org.htmlparser.util.*; import org.htmlparser.filters.*; import org.htmlparser.nodes.*; I've found traer.physics and traer.animation and successfully unzipped them into /my documents/processing/libraries and now they appear on the sketch/import library menu when I run processing (in fact, they appear twice, first of all above a divider, then again in with the rest of the libraries, but that doesn't seem to be a problem). I've done exactly the same thing with htmlparser1_6 and it is definitely there in the sketchbook folder, but it doesn't show up in the menu and when I try to run the code, I get the messages "The package org.htmlparser does not exist. You might be missing a library" and "Starting with release 0149, libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder." Do I need to rename something, or have I got the wrong file altogether, or ... ? Also, what about the java.util and processing.net.* libraries? Are they automatically included in the processing/java installations or do I have to download something else, and if so, what/where? Thanks in advance for any help, - guy