This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I cant figure out why i am losing the data here, when i press compute scores i get 0.0. the array score takes in the data just fine but i cant figure out where it goes at the end... error is at line 88 in the GUI class
Look at the actionPerformed method of your JudgeListener; especially lines 73 - 89.
In line 74, you declare a variable called result which you set to 0. In line 88, you are printing the value of that variable. But nowhere in between lines 74 and 88 are you assigning any other value to result, so it will still be 0 when the program reaches line 88, and it will always print 0.
result = judge.getResult();
but still wont work. i have used the debugger to make sure the data is ok up until this last part where its gone because i am not storing it after getResult (i think) - but i am not sure how to do that.