How would you do the equivalent of graphics-based collision detection in Java, then? Is it not possible?You can use an Area to do this. The intersect(Area rhs) function sets the Area to the intersected area (essentially an AND). You can then use isEmpty() to see if there is anything in the area. If true, then they collided. This isn't quite pixel-based, but it allows vector-based graphics collision.
Incidentally, you're replying to a post that is 5+ years old