I'm writing a Jython script that is supposed to call a function from an open-source plug-in called IHC Toolbox. I decompiled this .jar plug-in using JD GUI so that I can see all the files associated with the plug-in. There are many .class and a few .java files inside this plug-in. I sifted through all the codes to find the command I would like to run. It's called runCommand and seems to be nested inside the class buttonCommand. I don't know Java but I thought in Jython, I could just say
But it's not finding runCommand because apparently runCommand doesn't exist in the class buttonCommand.
I think the problem here is that I don't know Java and do not understand how it's organized. Would anyone please give me a pointer? I've included some screenshots here. I circled the class and the function in question. Also circled the corresponding "Color" button that the Jython script is suppose to tell the plug-in to execute.