mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix typo in main() javadoc
This commit is contained in:
@@ -6381,7 +6381,7 @@ public class PApplet extends Applet
|
||||
* The simplest way to turn and applet into an application is to
|
||||
* add the following code to your program:
|
||||
* <PRE>static public void main(String args[]) {
|
||||
* PApplet.main(new String[] { "YourSketchName" };
|
||||
* PApplet.main(new String[] { "YourSketchName" });
|
||||
* }</PRE>
|
||||
* This will properly launch your applet from a double-clickable
|
||||
* .jar or from the command line.
|
||||
@@ -7909,9 +7909,9 @@ public class PApplet extends Applet
|
||||
}
|
||||
|
||||
|
||||
public void beginRaw(PGraphics raw) {
|
||||
if (recorder != null) recorder.beginRaw(raw);
|
||||
g.beginRaw(raw);
|
||||
public void beginRaw(PGraphics rawGraphics) {
|
||||
if (recorder != null) recorder.beginRaw(rawGraphics);
|
||||
g.beginRaw(rawGraphics);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user