• Post Reply Bookmark Topic Watch Topic
  • New Topic

Bundle images and sounds to my netbeans project  RSS feed

 
Vinicius Souza
Ranch Hand
Posts: 70
1
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys !
I want to bundle some images and sounds with my project, that is, I want to put these images (png) into the jar and be able to access them inside my project. How can I do that ?
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you discovered the Oracle tutorials?

https://docs.oracle.com/javase/tutorial/uiswing/components/icon.html#getresource
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!