Use this tag for questions about the Java class PApplet, the base class for all sketches that use processing.core.
Questions tagged [papplet]
6 questions
2
votes
1 answer
Save PApplet frame as image on disk not working
I am making a map with unfolding with processing.core.PApplet. I'm using pure Java instead of Processing (Java 8).
My goal is to save the map as an image on my hard drive, but when I try to save it as a PNG, it is a black image. Same blank result…

Jose Gallo
- 93
- 2
- 6
1
vote
1 answer
I run a same project from Open Hpi Course. And I faced this PApplet Cannot Be Resloved error
import processing.core.PApplet;
public class Main {
public static void main(String[] args) {
PApplet.main(new String[]{TheApp.class.getName()});
}
}
And here is the error:
Exception in thread "main" java.lang.Error:…

Sai Aung Hlyan Htet
- 11
- 1
0
votes
0 answers
PApplet.runSketch trying to access java class in my sketch from a java file inside a folder
I'm trying to create a program that allows you to run multiple sketches off of one master sketch through using the PApplet.runSketch function. This has posed the best option for me but I want to be able to access a collection of java files within…

BoomDev
- 5
- 4
0
votes
1 answer
How to call method with for loop in another method?
I am printing objects from an array outputting 8 image objects using a for loop, the code works without draw() method, but when I include it, only the background image is shown.
How do I call the draw method in the setup method to work?
public class…
user19394712
0
votes
1 answer
Integrating Papplet in a tabbedPanel (application)
This is my first question at stackoverflow so if I miss information let me know.
I want to make a program which shows a worldmap in which you can zoom in and out and place marker which moves around (like a game map).
Because I would like the world…

B100
- 1
0
votes
1 answer
Processing second PApplet window does not update when method is invoked
I have the following code which allows to have two windows, in the main window when the 'k' key is pressed, must call the function disegna() of Graph and add the text.
But it seems not to work properly, no draw update occurs.
Can you give me a…

Paul
- 3,644
- 9
- 47
- 113