mirror of
https://github.com/processing/processing4.git
synced 2026-03-14 16:37:42 +01:00
* Add java tests to build path to put the test in the appropriate directory, id have to java files to grade build configs, because it currently only checks for kotlin tests. * Unit test for rsrc leakage in unzip create a temp zip file > create a destination that is a file not a directory (guaranteed exception) -> unzip throws ioexception because it expects a directory not a file -> catch it -> check if the zip file is still open -> if true == leak. * Add try() to manage opened files/rsrcs * Applying try() to more rsrcs Ive also removed the test since its OS specific, and new code is supposed to be in kotlin. * conditional for setting decorated only when the frame is displayable * type * Applying dispose before frame is displayable Moved the undecorated setup to the very beginning of the Editor constructor before any operations that could make the frame displayable happened.
Processing App
This is the PDE, the visual part of the editor that you see and work within when you use Processing.
Important classes
The main class of this project is the src/.../Base.java this is where the PDE starts after the splash screen.
The ui/Editor.java class is the class that is instantiated to show an editor window of the PDE.
Mode.java is the class that any mode within Procesing inherits from.