I´m trying to create JAR from IntelliJ project including some external libraries. Finally, I´ve managed to get JAR working in IntelliJ - the whole application loads and works perfectly. When I try to open it from the file, I get only a blank window opening.
I´ve tried every manual and tutorial I found here, on youtube and all over the internet but noone seems to have the same issue. Any help will be much appreciated! This is how the Project Structure section looks like Project Structure
SOLVED with InputStream is = getClass().getResourceAsStream("clock.png");
the only way textures will load in JAR.