In your previous post you have processing/libraries/papaya
. So inside that folder you should find reference, examples, src and library. You need to place the jar inside the library folder. Or you can remove the whole papaya folder and use the one I loaded in github. Just ensure you follow the structure processing/Libraries/papaya
.
On a side note. I tested the library using linearCorrelation.pde and it works. However, other provide exaples fail. The solution for most of them is easy. I tried UniqueExample.pde to show you what you need to do. You need to make sure all the PFonts are created inside setup()
. The second change is to move the size()
function from setup()
to 'settings()`. After you implement these changes, everything should run smooth. So for instance (pseudo-code):
// font
PFont titleFont = createFont("Helvetica", 15, true);
PFont smallFont = createFont("Helvetica", 12, true);
PFont tinyFont = createFont("Helvetica", 9, true);
[...] //Other fields
void setup() {
size(500, (int)yTop+(int)yHeight+60);
[...] //Other setup commands
Should be rewritten like this:
// font
PFont titleFont;
PFont smallFont;
PFont tinyFont;
[...]
void settings(){
size(500, (int)yTop+(int)yHeight+60);
}
void setup() {
[...]
titleFont = createFont("Helvetica", 15, true);
smallFont = createFont("Helvetica", 12, true);
tinyFont = createFont("Helvetica", 9, true);
Kf