Есть строчка
JFrame topFrame = (JFrame) SwingUtilities.getWindowAncestor(this);
Eclipse ругается
A The method getWindowAncestor(Component) in the type SwingUtilities is not applicable for the arguments
Не пойму в чем дело, в гугле особо ничего не понял, что написано, подскажите, куда глядеть?