I need to add Plugin support to a Java Swing App (like in Eclipse).
The Plugin should have the ability to add new Menu items and tab components to the swing app.
I am looking for frameworks or libraries which support it. So far I have found Java Plugin Framework http://jpf.sourceforge.net/ and planning to use it.
Are there any other better alternatives to it?
You can use the plugin system from eclipse/osgi without using SWT. This is a minimal standalone “Hello world” application. You extending the extension point “org.eclipse.core.runtime.applications” and can put whatever you like in the Application class. You can generate an exe as launcher using eclipse and using the RCP framework from it.
package test;
import org.eclipse.equinox.app.IApplication;
import org.eclipse.equinox.app.IApplicationContext;
Application.java
plugin.xml
MANIFEST.MF