Rather than copying jar files into a the Java lib directory you can configure everything directly through TextPad. To do this you need to set the TextPad tool preferences to recognize that a jar file will be included during compilation and execution.
The preference settings are accessed through the Configure drop down menu. You then click on preferences. Expand the tools list and highlight the Compile Java item.
To include a jar file, such as DanceStudio.jar, you need to change your compile parameters in TextPad to this:
-classpath .;DanceStudio.jar $File
You also need to copy the jar file into the same directory as the other java classes that you are trying to compile.
When running your application or applet, you must set your run parameters in TextPad to this:
-classpath .;DanceStudio.jar $BaseName
This enables the executing class to find all necessary compiled files in the jar file.