Image img = Toolkit.getDefaultToolkit().getImage("./data/icon.png");
And it works great, but in this case I must place this image file next to jar for it to display...and it isnt the best way to do it...
I have read everything I can find in google about reading image from inside a jar but nothing seems to work :(
Is there any reliable way to do it?


Sign In
Create Account


Back to top









