Darryl Burke wrote:I wouldn't add an ActionListener to the JComboBox for adding to a cart. I would provide a JSpinner alongside to set the quantity and a JButton for 'Add to cart'
If the JComboBox initially displays a prompt (like ' --- Select --- ' then I would initially disable the spinner and button and enable them only when a valid selection is made (using an ActionListener added to the combo).
Muhammad Saifuddin wrote:You might calling send email function under the loop? OR share the code snippets.
Muhammad Saifuddin wrote:
but it is not working for me
Where its breaking? or showing any error? OR read this.