I am wondering what would be best way to implement area selection in JME3. I would like to implement a selection rectangle, just like in windows desktop (or from games you might know Command and Conquer 3 and how objects are selected). That is, I would like to have mouse click&drag to draw a rectangle and then have all objects selected from inside of the rectangle.
For that I need to:
Draw and update rectangle borders (according to mouse).
Know what objects are inside of the rectangle.
Are there some out of the box features in JME3 that would implement what I want?