PDA

View Full Version : MouseListeners on multiple shapes (java)


1RandomRambles
Apr 3, 2015, 05:52 AM
So I am quite new to java and I want to implement a mouseListener on 4 rectangles that have a randomly generated width and height so that when you click on each one a different dialogue box appears.

I don't really know where to start so any help would be amazing!