Are those circles evenly divided?
Kind of. I'm working on a Mill/Mills/Merels game.

link:
http://noob.hu/2012/02/29/Merels_0.pngI'm sorry if I was unclear. I'd like those circles (shapes) to act like, lets say a JToggleButton which has 3 states based on mouse interact (idle, mouse over and pressed). Despite the fact that I have only 24 circles here, I'd like to work out a solution which can be applied to more of them, without the need of looping through an array/list with hundreds of elements every time. A circle is defined as a class.
I'm kind of new to game developement (as you might have noticed

), I do not know things in concepts, that is why I wrote every time that
I don't like the solution.