This week's book giveaway is in the Testing forum. We're giving away four copies of Data Structures the Fun Way: An Amusing Adventure with Coffee-Filled Examples and have Jeremy Kubica on-line! See this thread for details.
Please provide relevant part of code which is responsible for particular task you're failing to accomplish.
You should not be expecting: that someone will go and read more than 500 lines of code; will try to understand what this code is doing in general; will copy this code to their own IDE's and will try to debug.
Please provide more details
1. Given inputs if there were some;
2. Expected outputs;
3. Actual outputs;
4. Error messages (copied and pasted exactly as they appear) in case those appear on particular inputs;
5. Other important details which could help someone to give you an insight on what could be wrong;
And let's hope someone will be able to help.
I shall copy this topic to our other relevant forum, so the probability to get an accurate answer would get increased
Another thing: line 440. Why are you setting those fields visible or invisible? That does not look right. There are ways to make components come to the top; this tutorial suggests one solution.
There is also something wrong with the multiple ifs; there must be an elegant way to express what you want. Maybe a List or an array?