calculations
On my GUI i have 20 buttons which each represent a product and a price when they are selected the prices are added together and displayed in a JTextField. I also have number buttons 1-9 and I need to choose a quantity when selecting each product. How can i get the quantity i choose to multiply it by the button value and add it to the total?
example i choose: 3 bottles of water, each bottle costs ?, when i select 3 and the bottle of water i need it to add ? onto the total how do i do this?

