It took me some time to figure this out this problem, but actually the downloadable library on Processing Contribution Manager is an old one. Try replacing it from the one from github (just download the zip, extract it and rename it as websockets)
oh sorry to hear that. But please be a bit more friendly even though english may not be your mother tongue - like saying “thank you” or “can you help me with…” - because this is not a product support forum but a place for community members to support each other
The solution worked in my case, and the only difference seems to be that I use Processing IDE and you are using IntelliJ. Can you check first with Processing IDE if the callbacks work for you? If it works, then there may be something wrong with the settings of IntelliJ. If it doesn’t work, it could be that you are still using an old version of the lib or you are not using the callback in the right way.
I don’t want to repeat it but as I wrote above please add a few more words to sound nicer. If it doesn’t work I don’t know what else to suggest. Maybe you can submit an issue on github if you think this is due to the library?
I don’t think so, I tried the compiled jar from github and it worked on the IDE as I wrote above. I guess you have issues with installing the library and perhaps your code is still loading the old one. You tested both on IntelliJ and processing IDE with the latest repo and neither worked, right?