I was wondering would anyone be able to tell me how I would go about creating a clickable image form in Java?? I'm working on a program that displays different types of wave modulation. For example, if you click on the frequency button, a sine wave will appear in a display canvas. What I want to do is to have the display canvas split into an equal number of segments that have a "0" value or a "1" value(say the default would be "0") so that when a segment is clicked that part of the sine wave will change(if for a frequency wave if a segment is clicked from "0" to "1", the frequency of the wave at that segment will increase). I'm running this program in a Java applet and it can display three types of waves frequency, amplitude and phase shift.
I'm fairly new at working with Java and would appreciate any help.