D
DERosenblum
In class1 I have a switch statement that switches on int choice and
defaults to choice = 1 when the program is run. In class2, I have
setup a GUI which includes 2 radio buttons. When someone clicks the
2nd radio button I want the variable that gets switched in class1 to
become 2 and restart the application with that value.
I'm having trouble getting Class1 to read-in the value when the radio
button is pushed and then restart. I'm new to programming so more
details would be useful.
Thanks!
defaults to choice = 1 when the program is run. In class2, I have
setup a GUI which includes 2 radio buttons. When someone clicks the
2nd radio button I want the variable that gets switched in class1 to
become 2 and restart the application with that value.
I'm having trouble getting Class1 to read-in the value when the radio
button is pushed and then restart. I'm new to programming so more
details would be useful.
Thanks!