0
Good afternoon, I’m having a problem when compiling my application.
I’m using Apache Netbeans 11.0 Java 8
I’m having trouble setting an image on a Jlabel.
Call me back Expection in thread "AWT-Eventqueue-0" java.lang.Nullpointerexception at javax.swing.Imageicon.(Imageicon:217) at br.house.main.mainBotPainel.initComponents(mainBotPainel.java:63) ...
All images have been added to the Assets folder. See attachment 2 prints.
As nothing worked, I took the . JAR and I had it opened with Winrar and inside it did not contain the Assets folder, that is, it was not encapsulated together with the JAR by Netbeans. What I’m doing wrong?