set flag AllPublic.
lib 1013739
import processing.core.*;
static Pair pMain(final Class c) {
ret swing(func -> Pair {
fixContextClassLoader();
Set frames = asSet(listAWTFrames());
PApplet.main(c.getName());
Frame frame = first(listWithoutSet(listAWTFrames(), frames));
ret pair((A) last(getAndClearThreadLocal(PApplet2_instancesMade)), frame);
});
}
static Pair pMain() {
ret pMain(mc());
}