How do I set a custom icon to a JFrame?

前端 未结 0 1126
-上瘾入骨i
-上瘾入骨i 2020-12-21 23:53

I am trying to set the JFrame icon to a custom image I have prepared. I am, however, getting this error when I write this code;


import javax.swing.ImageIcon;         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题