boolean () { // fixme JBPopupMenu[97] has own timer, that repaints only own menu Container contentPane = SwingUtilities.getRootPane(this).getContentPane(); return contentPane.getComponentCount() == 1 && contentPane.getComponent(0) instanceof JBPopupMenu; }