loading an url - fails, throws error

iReport 4.02 / MacOS X 10.7
Hi,

I am such a noob.

I got this example in iReport Ultimate guide 3 (page 73)
java.net.URL
Specifies the java.net.URL object. It is useful when you have to export the report in HTML format. A correct expression could be:
new java.net.URL(“http://127.0.0.1/test.jpg”)

so I change the url to : “http://www.newbaseonline.nl/images/logo/line_green.png

I get ‘java.netURL cannot be resolved to a type.’-error when trying to preview.

What is wrong ?!

TIA,

Joost

probably you wrote

new java.netURL(...)

instead of

new java.net.URL(...)

Thnx…

Do you have an idea when the picture / url will load ?