Hi all, the problem is due to the mismatch of arguments in super class
constructors in the sub-class and the super class. The following code
works, essentially because the constructor in the super class has been
modified from default.
public class SimplePlot extends SoftChart{
public SimplePlot(String title, Font titleFont, Plot plot,
boolean createLegend) {
super(title, titleFont, plot, createLegend);
}
}
Thanks for your help, Srinivas.
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
-~----------~----~----~----~------~----~------~--~---