import « Icon Image « Java Swing Q&A





1. Importing images using Swing    coderanch.com

2. Import image    coderanch.com

3. how to import any images to GUI interface in netbean.    forums.oracle.com

A quick way I found is just create a folder in the /src folder inside your project folder and put the images in there. Example: NetBeansProjects/ProjectFolder/src/YourImageFolder/ When you build your project, it will put into the jar file automatically! Or you can do it in Netbeans by right clicking on Source Packages under your project name in the projects tab in ...