Hi aa

Because you have created a constructor of your own, the default
constructor (that is normally automagically created if you don't have
a public constructor) doesn't exist.  You need to add a public default
(no-arg) constructor.

hth

mcalex

On Oct 27, 10:05 am, apple_amateur <[EMAIL PROTECTED]> wrote:
> Hi Adym,
>
> Thank you for your reply. I assume you mean that the default
> constructor is the constructor of the super class, SoftChart. The
> definition of the SoftChart constructor is defined as follows.
>
> public class SoftChart {
>
>   public SoftChart(String title, Font titleFont, Plot plot,
>                       boolean createLegend) {
>
>     ....
>   }
>
>   ...
>
> }
>
> The SoftChart class resides in a package, which is different from
> SimpleChart. I hope that answers your question. I have not found out
> the source of the problem. Please help if you can.
>
> Thanks.
> aa
>
> On Oct 26, 11:15 pm, "Adym Lincoln" <[EMAIL PROTECTED]> wrote:
>
> > aa,
>
> > Do you have the javadocs for SoftChart?  The default constructor (i.e. one
> > that doesn't take any parameters) is probably private...
>
> > hth,
>
> > adym
>
> > --
> > We are alone, absolutely alone on this chance planet: and, amid all the
> > forms of life that surround us, not one, excepting the dog, has made an
> > alliance with us. - Maurice Maeterlinck
>
>
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to