I work in an elementary school and was thinking of writing a program based on "Deal or No Deal". So far, I've set up the GUI, but I'm not sure how to write the code. What I want to do is have a set of 24 buttons which would act as the briefcases and create an array of 24 objects, one for each button. Each object would be the value of that button, assigned using a random # generator. I have another set of 24 buttons which just show which values are left. o when someone presses one of the "briefcase" buttons, a alert panel would pop up saying what was in that case and disable the button pressed as well as the button under the possible values. My question is, how do I assign the value to each button? I'm not very good at programming. I'm thinking about using an array, but I don't know how to assign each object of the array to its own button. Any help would be greatly appreciated! Thanks in advance!