Where does the code handle the events from the "toppings" components?
Type: Posts; User: Norm
Where does the code handle the events from the "toppings" components?
You can total the items each time a selection is made.
You need to see what the code is doing. Add some println statements to the listeners and have them print out the new values that they set for...
Yes you could do it that way. The listeners could compute a new total every time they are called.
Just like that.
After the user has made his selection and asked for the total:
add up the prices
display the total
How does the user ask for the total to be computed?
Please edit your post and wrap your code with
<YOUR CODE HERE>
to get highlighting and preserve formatting.
Where are the prices and how are they added up to get a total?
The adding up...