how to change image when button is clicked?
my gui is consisting of three Button(NEXT,PREVIOUS,AUTO-CHANGE) and 1 Jcombobox. when you drop-down combobox list of image is i want when i clicked on "next" button image of jcombobox should be change.

Recommended Answers

See How to Use Combo Boxes has all you need to know there, Specifically Providing a …

Jump to Post

All 2 Replies

for a JButton, attaching a simple ActionListener would help you out a lot.

commented: lol yup +8
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.