What I mean is if I use Jython to construct a simple GUI in a file. Then in my
java code I do
interpreter.execfile("gui.py");
That is all find and good. But if my GUI has Buttons, Menu's, etc I need the Action Events to reside in the java program itself, not in the script file. I don't really have any code yet because I need to find out if this is possible before I commit to doing it.
But for an example I found on the internet:
If this is my script file that I call from the java program, notice the:
I need that to call a method inside my Java application. I don't want all my event code in the script file. I hope that makes better sense.
I'm afraid that you have exceeded the monthly capacity of this forum, come back later. I noticed this forum was a bit on the dormant side. I thought I would bring it back to life.