Skip to content

Commit b2f2a29

Browse files
committed
Issues 931 testing
1 parent d96bc0a commit b2f2a29

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import processing.core.PApplet;
2+
3+
// Reproduction of issue #931
4+
// Only seen on Windows
5+
public class Issue931 extends PApplet {
6+
public void draw(){
7+
background(frameCount % 256);
8+
text("Hello World "+frameCount, 10, 10);
9+
10+
frameRate(9999);
11+
surface.setSize(frameCount + 100, 100);
12+
}
13+
public static void main(String[] passedArgs) {
14+
String[] appletArgs = new String[]{ Issue931.class.getName()};
15+
if (passedArgs != null) {
16+
PApplet.main(concat(appletArgs, passedArgs));
17+
} else {
18+
PApplet.main(appletArgs);
19+
}
20+
21+
}
22+
}

0 commit comments

Comments
 (0)