Well, I have an interface that:
public interface abc { public<T extends JPanel> T initalize(); }
And I am implementing it. Here's what when I define a function like:
public class Startup_thePanel extends JPanel implements abc { public Startup_thePanel initalize() { return this; } }
I get a warning about the initalize function, which is "Security type: type expression ... requires raw conversion to match ...".
I can get rid of this with suppresswarning, but I don't want to use it. What am I missing?
Thanks in advance...
source share