[Bluej-discuss] JFreeChart with BlueJ?
rhg5 at kent.ac.uk
rhg5 at kent.ac.uk
Sun Sep 23 23:55:28 BST 2007
Michael,
The JFreeChart library files were extracted from a downloaded zip file, and consist of directories, subdirectories, and .java files. I'm confused about where the jars fit in with this. From the BlueJ Manual I read:
"One small thing to look out for: if the classes are in a jar file, select the jar file itself as the library. If your classes are in a named package directory structure (for example in a directory named "simpleIO"), choose the directory that contains simpleIO (not the simpleIO directory itself) as the library!"
from which I thought the ones I am looking at were in package directories. I've used the BlueJ Preferences to point at all the relevant directories, at least that what I've tried to do, but I still can't make it work.
----- Original Message -----
From: Michael Kölling <M.Kolling at kent.ac.uk>
Date: Sunday, September 23, 2007 22:33
Subject: Re: [Bluej-discuss] JFreeChart with BlueJ?
To: General discussion for users of BlueJ <bluej-discuss at bluej.org>
> Yes, not pointing at the jars is the problem.
>
> You need to either place the jar files in BlueJ's userlib
> directory,
> of you need to point to the jar files using the
> Preferences/Libraries
> dialogue.
>
> Michael
>
> On 23 Sep 2007, at 21:31, <rhg5 at kent.ac.uk> wrote:
>
> > Yes, it's freeware www.jfree.org/jfreechart/
> >
> > I suspect i'm doing something simple wrong in the
> import. I've
> > altered the BlueJ Library Preference so that it points at
> the
> > directory on my hard disk that includes the library I need, as
> per
> > the BlueJ manual and as per the Developers Guide for
> JFreeChart.
> > In that directory are a set of .java files, and
> some
> > subdirectories. Might the problem be that I am not
> pointing at
> > jar files or something like that?
> >
> > What happens when I try to call the libraries (from within
> BlueJ)
> > is that I get a "file saved" message in the editor window, and
> the
> > compilation just hangs.
> >
> >
> > ----- Original Message -----
> > From: Michael Kölling <M.Kolling at kent.ac.uk>
> > Date: Sunday, September 23, 2007 20:27
> > Subject: Re: [Bluej-discuss] JFreeChart with BlueJ?
> > To: General discussion for users of BlueJ <bluej-
> discuss at bluej.org>>
> > > I haven't tried it. Is JFreeChart freeware? If you tell me where
> > > to
> > > get a copy, I can try it out.
> > >
> > > Michael
> > >
> > >
> > >
> > > On 23 Sep 2007, at 20:00, <rhg5 at kent.ac.uk> wrote:
> > >
> > > > General discussion for users of BlueJ <bluej-
> discuss at bluej.org>> > >
> > > > Does anyone have experience at using JFreeChart with
> > > BlueJ? I'm
> > > > having trouble importing the libraries (from my hard
> > > disk). I've
> > > > tried setting the library Preferences in BlueJ as per the
> > > BlueJ
> > > > manual, but I just find BlueJ "hanging" when I try to
> > > compile.
> > > > Since I've not used JFreeChart before, nor have I
> > > imported
> > > > libraries into BlueJ, I'm not sure where the problem lies.
> > > >
> > > >
> > > >
> > > >
> > > > regards,
> > > >
> > > > Hugh
> > > >
> > > > R.H.Griffiths
> > > > Biosciences, University of Kent, UK
> > > > Room C114
> > > > +44 (0)1227 827012
> > > > mobile: +44 (0)7770 922522
> > > >
> > > > _______________________________________________
> > > > mailing list bluej-discuss at bluej.org
> > > > To unsubscribe or change your preferences, go to
> > > > http://lists.bluej.org/mailman/listinfo/bluej-discuss
> > >
> > > _______________________________________________
> > > mailing list bluej-discuss at bluej.org
> > > To unsubscribe or change your preferences, go to
> > > http://lists.bluej.org/mailman/listinfo/bluej-discuss
> > >
> >
> > regards,
> >
> > Hugh
> >
> > R.H.Griffiths
> > Biosciences, University of Kent, UK
> > Room C114
> > +44 (0)1227 827012
> > mobile: +44 (0)7770 922522
> >
> > _______________________________________________
> > mailing list bluej-discuss at bluej.org
> > To unsubscribe or change your preferences, go to
> > http://lists.bluej.org/mailman/listinfo/bluej-discuss
>
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss
>
regards,
Hugh
R.H.Griffiths
Biosciences, University of Kent, UK
Room C114
+44 (0)1227 827012
mobile: +44 (0)7770 922522
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bluej.org/pipermail/bluej-discuss/attachments/20070923/e505ef98/attachment-0001.html
More information about the bluej-discuss
mailing list