hi i have a label that i have set a icon for it, i want to remove this icon after clicking on a button, what is the method for it?
label.setIcon(null)
in the event handler that handles the button click, if you're using Swing.