Pretty simple, Would
if(clickedButton == button0 || button1 || button2 || button3 || button4 || button5 || button6 || button7 || button8 || button9)
return true if I had clicked button0, button1, or button2 etc?
Also, I don't understand why
if(clickedButton == (button0 || button1 || button2)... etc. doesn't work either. Is it the same thing (checking for true or false on a JButton) or is something else completely. Mostly I'm just messing around with parenthesis, so when this thought hit me, I tried it, and I don't understand why it doesn't work.