()
| 2241 | |
| 2242 | /// {@inheritDoc} |
| 2243 | @Override |
| 2244 | public boolean animate() { |
| 2245 | if (getParent() != null) { |
| 2246 | repaintAnimations(); |
| 2247 | } |
| 2248 | return super.animate(); |
| 2249 | } |
| 2250 | |
| 2251 | /// Makes sure all animations are repainted so they would be rendered in every |
| 2252 | /// frame |