like i said, really new at this so it was perserverance and attention, but i managed to get it running.
JButton jButton_sete = new JButton("Set Choice");
jButton_sete.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
drawColor = JColorChooser.showDialog(null, "Set Choice",choice);
if (choice != null) {
g2dImg.setPaint(choice);
});
i needed to understand how to associate the actionlistener to the choice variable through jColorChooser, rookie error.