Results 1 to 2 of 2
- 03-30-2010, 11:23 AM #1
Member
- Join Date
- Mar 2010
- Posts
- 2
- Rep Power
- 0
Problem in importing jar file in libraries of netbeans
I am using Netbeans IDE 6.8 for creating my project.I want to import jfreechart jar file in to my project, for that i right click on the libraries and click on the 'Add Library' and added the jar file.Now my problem is that i want to use classes of that jar file.so how can i use that classes. I used import in my class file but it won't work. Please reply.
- 03-30-2010, 11:30 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
First of all you have to import that jar package in your class file.
Java Code:import jfreechart.*;
Similar Threads
-
Getting access denied error while importing file using input type="file" with IE7
By sarang1 in forum Advanced JavaReplies: 6Last Post: 02-10-2011, 09:55 AM -
Sharing Project Libraries in NetBeans
By Ajenjo in forum NetBeansReplies: 0Last Post: 03-15-2010, 09:38 AM -
netbeans: creating a jar including jar libraries
By satbobo in forum NetBeansReplies: 13Last Post: 08-26-2009, 04:08 AM -
importing a netbeans project in Eclipse
By javanoob#1 in forum EclipseReplies: 0Last Post: 02-10-2009, 11:20 PM -
Java - Importing from a Jar file hav touble with set CLASSPATH
By minifish in forum New To JavaReplies: 10Last Post: 10-30-2008, 04:57 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks