S
steve smith
Hi here is the problem I have I have a panel consisting of radio
buttons, the buttons are disabled. Each button is associated with a
value, and when the counter hits that value the button should be
enabled. The counter is incremented by the user by means of a jButton.
I tried implementing this by having a while loop which continously
checked for the counter reaching any of the values of the radio
buttons so that they could become enabled, only when i ran the program
it would completely crash. I think the best option would be to use
threads to do this but I have never used threads before and so would
like some help on how I should go about this problem? Thanks.
buttons, the buttons are disabled. Each button is associated with a
value, and when the counter hits that value the button should be
enabled. The counter is incremented by the user by means of a jButton.
I tried implementing this by having a while loop which continously
checked for the counter reaching any of the values of the radio
buttons so that they could become enabled, only when i ran the program
it would completely crash. I think the best option would be to use
threads to do this but I have never used threads before and so would
like some help on how I should go about this problem? Thanks.