FrameRecorder
The FrameRecorder class extends the Recorder class to provide functionality for saving frames of an applet as PNG files. It allows saving the current frame with a generated filename based on the frame number or taking a snapshot with a specified filename.
Usage example:
FrameRecorder recorder = new FrameRecorder("/path/to/output/folder");
recorder.saveFrame(); // Saves the current frame with a generated filename
recorder.snapshot("snapshot.png"); // Saves the current frame as "snapshot.png"
