So I am quite new to java and I am wanting to add mouseListeners to 4 rectangles that I have drawn that have random widths and heights. I want it so that when you click on each rectangle, a different dialogue box appears.
Any help would be great!!
It looks like you're new here. If you want to get involved, click one of these buttons!