Go Down

Topic: Arduino Networked Lamp Processing sketch error. (Read 11120 times) previous topic - next topic

PaulS

Quote
but now it can't load the HelveticaNeue-bold font...

Does the font that Processing uses REALLY matter? Have you placed the appropriate font file in the appropriate directory?
The art of getting good answers lies in asking good questions.

Forrest_Erickson2002

I was not able to figure out how to fix the font problem so I simply commented out the lines like this:

  //font = loadFont("HelveticaNeue-Bold-32.vlw");
  fill(255);
// textFont(font, 32);


Then the program ran but produced no results.
The URL from the book is not responding I think.
I changed the URL like this:
String feed = "http://blog.makezine.com/index.html";

I was then getting results .

Thanks for the help above with the java includes. I would never have overcome that problem.
Tyson: When you're scientifically literate, the world looks different to you.

thomm

Hi all, i am not very familiar English, sorry for my poor English.
I am now using processing 2.1 for this project and i've revised my code by including java with codes mentioned above:

import processing.serial.*;
import java.net.URL;
import java.net.URLConnection;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

yet, when I tried to run this program, Processing stopped and show error message  "The package "java.io,BufferReader" does not exist. You might be missing a library."

I'm a totally newbie ,I don't know if it is suitable to ask here (this is the only forum I know)
Is there any suggestion where I can download the libraries and how to install it?

PaulS

The error message does not match with the snippet of code you posted. (Buffered != Buffer).
The art of getting good answers lies in asking good questions.

thomm

thanks! this error is caused by my typo... :smiley-sad-blue:

tgreenhaw

You'll need to go to the "Tools/Create Font..." menu option. I didn't have Helvetica so I used Calibri. You'll also need to change the reference to the font in the code as well.
Example:
  font = loadFont("Calibri-48.vlw");

sunnybee

Hello Everybody,

Sorry I am totally new and confused by this.  May I ask where to get the 1.5.1 version of Processing and how to run this processing?  I am using 64 bit Windows 8.  your advice will be appreciated.     

PaulS

Quote
May I ask where to get the 1.5.1 version of Processing
Why do you think you need such an old version?
The art of getting good answers lies in asking good questions.

Go Up