0

I have 2 individual .java files, and in those files, I have taken in some buffered images, which are 3 .png files. I want to turn this grouping, the 2 java files and the 3 png images into a single file that can be opened and executed without a compiler. How do I do this?

1 Answers1

1

You have to build a jar file for this. So you will be able to run your application by double clicking on your .jar file. If you are using netbeans to develop you can simply do it by right click on your application and by selecting clean and build. I hope this link will help you.

chalitha geekiyanage
  • 6,464
  • 5
  • 25
  • 32