Comment or remove that code, if you did the jframe with the visual editor, then try this.
Open the JFrame properties and click the 3 dots in the iconImage option.

Select the Project option choose the location where your image is, and choose the image from the files textbox, now click OK

Tell me if this works, if it doesnt, then im out of ideas. Try asking in Dream in code or stack overflow communities



Home
Community
Blogs
JR Craft
News & Reviews
Store





















