With:
getrectangle().intersects(circle.getBounds2D())
I can see if my rectangle was touched by my circle. That works also.
But now I have to set, that if it touches the left or right side (no matter where there) of the rectangle, I have to print a System.out.println.
And if it touches the upper or lower side of the rectangle (no matter where there) of the rectangle, I have to output another System.out.println. Now how do I do this?
ALso how do I check which side it hit?