I'm trying to set an Icon to my Radio Button.
ImageIcon ImIcon= new ImageIcon("icons/star.ico"); //I have tried .png too
jRadioButton1.setIcon(ImIcon); //or setSelectedIcon same resul
The only result that I get is that the original RadioButton Icon is vanishing, but the text still remains.
Why won't it show it self?