简体   繁体   中英

How do you create a .jar file for an applet that has images and sound?

I am creating a Simon Says memory sequence game that is created in Java Applet. I need to post it on a website and just be able to run it without using a java compiler. It has an Image folder and a Sound folder that need to be included in the .jar file.

Here is the link to some code.

You have to pack all necessary files to this jar and use them as resources not files. See how it's done here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM