I have to make a small paint program using the GUI. I need to know how to use the combo box. I know I have to make an array with the list of colors but I don't know how to add it to an action listener and choose the items. I have one combo box for the color of the background and another for the color of the pencil/brush/whatever it's called.
I have searched for a way to do it, but all the sites, books and so on assume I'm writing everything from scratch instead of using the IDE
Can I get any help here?