Delete the default JFrame icon


In my JFrame i have the default coffee icon. I want to remove it. But when i do setIconImage(null) it does't work. Can anyone tell me the solution as to how to completely remove the icon

Create icon that consists of one pixel (better transparent) and use it. If you need such icon contact me. I will send you.