Hi,
thanks a lot for your answer and time. From your suggestion to use a general framework I understood something important:
I should not use the Java interface to the Processing library if I have no idea about how Java works and I am not interested in it!
Indeed, I have no idea what else to write in the pom.xml file and the difference between a maven artifact and the core.jar file in the library folder.
Hence, I opened the code from the processing ide. -Which is not as pleasant and helpful as the IntelliJ ide-. Changet slightly the code. And run the ¨Export Application¨ in File.
Et voila´ I have the application in exe and bush files. Thank you, Processing developers, to make it easy.
The code is accessible from this shared folder till 1 May 2021