I would like to make a program where I can add something like "plug-ins". Lets say I have Project1
where I have JFrame
and Project2
where I have JPanel
.
The point is, that user can develop his own programs (plug-ins) and than add it to the main program (Project1
).
So... I export frame as runnable JAR file and export panel as runnable JAR file (or only as JAR file?).
What I want to do is to show panel in frame.
Simply I want to do something like this or this but only in Java and with panel, I don't need to run any .exe programs. (It's going to run on Linux not Windows).
My professional picture that should describe what I want to do :) image
Is there some way to do this?