How to quickly get the area of a panel | getLocalBounds