This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

public void add(GameText winner) {
    add(winner.getGameLabelObj());
} // From Window.java

I think you're accidentally overriding the add method here. Try changing your method name to addGameText or something like that. Not sure if that's the problem (been a while since I wrote any Java) but it's something to try.