Hi, basically I have an array of JButtons 0-25 labeled A through to Z. When each of the buttons are clicked I need to call a function passing the letter value. I thought that I could do this like this:
if (buttonObj == letterButton[0]) {
functionName();
}
But I have no way to pass the letter to the function. Has anyone got any ideas for this? Thanks!!!
Shaun