I wanted to give my small demo-project to a friend of mine. He hasn't any Java installed though. Exporting my project creates an exe and the jar files. But how can I embed the jre like processing does so he doesn't have to do anything besides unpacking and double-clicking the exe?
// How it should look fill(0); rect(10,10,180,380); fill(255); smooth(); text("This is a Test!", 20, 200);
// Want it to look like above, but doesn't pg.beginDraw(); pg.fill(0); pg.rect(10,10,180,380); pg.fill(255); pg.smooth(); pg.text("This is a Test!", 20, 200); pg.endDraw();
image(pg, 210, 10); }
Why it's so important to buffer the text before drawign it, is that in my original program I need to draw every single character on by one as I am doing a wordwrap combined with styling code in the string.
Drawing it out directly is very slow, using buffering is very quick.... but ugly...