You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional commands are found within the six menus: File, Edit, Sketch, Debug, Tools, Help. The menus are context sensitive which means only those items relevant to the work currently being carried out are available.
65
58
66
59
#### File
@@ -469,14 +462,12 @@ The arrow button to the right of the tabs in the Processing Development Environm
469
462
470
463
<HighlightBlock>
471
464
472
-
473
465
_Advanced_
474
466
475
467
When a program with multiple tabs is run, the code is grouped together and the classes in other tabs become inner classes. Because they're inner classes, they cannot have static variables. Simply place the "static" variable outside the class itself to do the same thing (it need not be explicitly named "static" once you list it in this manner). If you don't want code to be an inner class, you can also create a tab with a ".java" suffix, which means it will be interpreted as straight java code. It is also not possible to use static classes in separate tabs. If you do this, however, you'll need to pass the PApplet object to that object in that tab in order to get PApplet functions like `line()`, `loadStrings()` or `saveFrame()` to work.
476
468
477
469
</HighlightBlock>
478
470
479
-
480
471
### Debug
481
472
482
473
The Processing Debugger is a tool for diagnosing problems with a sketch. Enable it to pause a sketch while running and advance through the code one line at a time. The debugger is enabled through the File menu (Debug > Enable Debugger) or by clicking the Debugger icon, the butterfly in the upper-right corner of the PDE.
@@ -495,7 +486,6 @@ This mode makes it possible to write short programs to draw to the screen, but a
495
486
496
487
<HighlightBlock>
497
488
498
-
499
489
_Advanced_
500
490
501
491
Java files with the extension .java can be included with a Java mode sketch. They may be created directly in the PDE or copied into the sketch folder through the "Add File..." item in the Sketch menu or dragged into the text editor. It's possible to write any Java code in files with the .java extension. In fact, complete Java code can be written from inside the Processing Environment by subclassing PApplet like this:
@@ -508,7 +498,6 @@ This is for advanced developers only and is not really recommended. Using this t
Copy file name to clipboardExpand all lines: content/tutorials/text/processing-overview/index.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -160,7 +160,7 @@ void mousePressed() {
160
160
161
161
One of the most significant features of the Processing environment is its ability to bundle your sketch into an application with just one click. Select File → Export Application to package your current sketch as an application. This will bundle your sketch as an application for Windows, Mac OS X, or Linux depending on which operating system you're exporting from. The application folders are overwritten whenever you export—make a copy or remove them from the sketch folder before making changes to the contents of the folder. Alternatively, you can turn off the automatic file erasure in the Preferences.
162
162
163
-
More about the export features can be found in the reference at [http://processing.org/reference/environment/#Export](http://processing.org/reference/environment/#Export).
163
+
More about the export features can be found in the Environment page at [https://processing.org/environment/#export](https://processing.org/environment/#export).
0 commit comments