How to create a pluginable Java program?
I’ve done this for software I’ve written in the past, it’s very handy. I did it by first creating an Interface that all my ‘plugin’ classes needed to implement. I then used the Java ClassLoader to load those classes and create instances of them. One way you can go about it is this: File dir … Read more