We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey all!
I am currently working on a Processing library implementation of jpcap network traffic sniffer : jpcap.sourceforge.net/
I am pretty new to Java (and creating Processing libraries!) but referencing others, i've managed to piece together a java example in the original java source file example titled "sniffer" (https://github.com/jpcap/jpcap/tree/master/src/java/net/sourceforge/jpcap/tutorial/sniffer). Anyways, here is my github with current progress:
https://github.com/danieljayB/jpcapSniffer
My issue is when I attempt to import
my jpcapSniffer library, Processing does not create an import
line with my library. Im not sure what I am overlooking.
tips, requests, feedback would be greatly appreciated
Answers
I am not the most knowledgable when it comes to creating a Processing library, but I don't think you should be extending PApplet like you have within a library. See the library template on GitHub: https://github.com/processing/processing-library-template/blob/master/src/template/library/HelloLibrary.java
And just in general see this link for many tips: https://github.com/processing/processing-library-template