type argument Chart is not within bounds of type-variable T where T is a type-variable:

Viewed 15

I'm trying to create an XChart graph, and add it into a JPanel. I have found a website that explains how to do it, but when I copied the code I get this error:

type argument Chart is not within bounds of type-variable T where T is a type-variable:
    
T extends Chart<?,?> declared in class XChartPanel

Here is a screen shot of the problem:

screen shot

How do I fix this error?

0 Answers
Related