Go Down

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


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?


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");
// 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.


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?


The error message does not match with the snippet of code you posted. (Buffered != Buffer).


Go Up

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

shortcuts: alt+s submit/post or alt+p preview