java - Intersection of Two Rectangles with paintComponent - Stack Overflow

java - Intersection of Two Rectangles with paintComponent - Stack Overflow