Possible Duplicate:
Circle-Rectangle collision detection (intersection)
How can I calculate if a circle's shape is overlapping the shape of an rectangle (both 2D) ?
The information I have about both is the circles center and its radius, the rectangles upper left vertex and its width and height. If you have other solutions based on other representations that would be fine too. Also: I'm programming in Java, are there any usefull classes?