Im trying to put two condition where the users pick selection in radiobutton "r1" and combobox "wdr1" and i want it to display picture output. But it didnt produce any output since the program can run it. Any suggestion to fix this?
if("r1".equals(combo2.getSelectedItem().equals("wdr1"))){
icon1 = new ImageIcon("adidas.jpg");
pic1.setIcon(icon1);
}