We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21900a8 commit 3129f5dCopy full SHA for 3129f5d
1 file changed
core/src/processing/core/PApplet.java
@@ -10038,8 +10038,8 @@ static public void main(final String[] args) {
10038
* Convenience method so that PApplet.main(YourSketch.class)
10039
* launches a sketch, rather than having to call getName() on it.
10040
*/
10041
- static public void main(final Class<?> mainClass) {
10042
- main(mainClass.getName(), null);
+ static public void main(final Class<?> mainClass, String... args) {
+ main(mainClass.getName(), args);
10043
}
10044
10045
0 commit comments