java - Interactable Image -


i have program uses picture, how go programming user click on each individual blue square , receive response? have tried splitting image individual images wasn't sure how make clickable.

here's image: a busy cat http://www.aviationexplorer.com/airline_aircraft_seat_maps/delta_airlines_aircraft_seating_maps/d767300.gif

you don't tell gui library is, if it's swing, answer simple: use mouselistener. details of implementation of course depend on structure of program.


Comments