hey everyone, need some help here im trying to create this(in the picture shown) but the problem im having is when i select the item from the combobox i want to show the price in the text field as shown but im not sure how i would go by doing this. along with the spinner; when i change the value i want the value in the total price to be updated.
brandon66
0
Expert in Progress
Recommended Answers
Jump to PostAdd an ActionListener to the combo box. That will be called whenever the user selects a new Widget. In there you can update the price and total. Same thing for the Quantity spinner.
Jump to PostWhat is the code supposed to do? I don't see any comments in the posted code describing what it does.
All 8 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
brandon66
0
Expert in Progress
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
brandon66
0
Expert in Progress
brandon66
0
Expert in Progress
NormR1
563
Posting Sage
Team Colleague
brandon66
0
Expert in Progress
NormR1
563
Posting Sage
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.