I bought a third-party Java library which includes a JAR file and two DLL files. I wrote my own Java program which invoke the third-party JAR file. Now my question is how can I package all my code into a single JAR file which include all my code and the third-party JAR and DLLs?
I know SWT is such a case. The swt.jar includes dll files, but I don't know how to do this and how to make it work properly.