Importing classes

Hi,

I'm using NetBeans 3.5 to write some Java programs. In one of the programs, I need to import classes from jfree.org:

import org.jfree.chart.ChartFactory;

import org.jfree.chart.ChartPanel;

import org.jfree.chart.JFreeChart;

It seems like NetBeans is unable to resolve the paths to the classes:

source/org/jfree/chart/demo/BarChartDemo1.java [49:1] cannot resolve symbol

symbol :class ChartFactory

location:package chart

import org.jfree.chart.ChartFactory;

^

Do I need to configure any parameter(s) in NetBeans in order to import from remote Web servers?

Thanks!

Message was edited by:

21tk

Message was edited by:

21tk

[929 byte] By [21tka] at [2007-11-27 6:37:02]
# 1
On your projects window there is a node with libraries/jar files. Right click on it then choose add jar/zip folder. I have never used netbeans 3 but these directions are in netbeans 4. Hope it helps you.
Jamwaa at 2007-7-12 18:05:15 > top of Java-index,Java Essentials,New To Java...
# 2
I started my program as a Java package. How could I make it into a 'project'?
21tka at 2007-7-12 18:05:15 > top of Java-index,Java Essentials,New To Java...
# 3
Hi,I've found the way. By right clicking the jar files, I chose 'mount the jar file' and that solved the problem. Thanks for enlightening me.
21tka at 2007-7-12 18:05:15 > top of Java-index,Java Essentials,New To Java...