I've noticed that a lot of Javascript/jQuery libraries allow developers to customize the .js file, thus including only the bare minimum functionality to save bandwidth/page load times.
Now when I'm distributing my Java library to clients, is there a way to do the same? I don't like forcing clients to have to include a large library in their application if they're only going to be using a few classes.
Ideally everything would be packaged into a nice JAR file.
EDIT: Something similar to this: http://flowplayer.org/tools/download/index.html