Is there a method to check if a JButton has an Icon?
becouse I've been searching all over google and i cant seem to find anything

Is there a method to check if a JButton has an Icon?
becouse I've been searching all over google and i cant seem to find anything

how about using

jButton1.getIcon();

it usually returns null if no icon is attached.