# Sketch soft crashes when resizing window

**URL:** <https://discourse.processing.org/t/sketch-soft-crashes-when-resizing-window/39032>\
**Category:** Processing\
**Created:** [October 1, 2022, 3:53pm UTC](https://discourse.processing.org/t/sketch-soft-crashes-when-resizing-window/39032 "2022-10-01T15:53:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [October 2, 2022, 4:42pm UTC](https://discourse.processing.org/t/sketch-soft-crashes-when-resizing-window/39032/2 "2022-10-02T16:42:08Z")

</div>

Hello @jSdCool,

Related topic:

> [@Image() flickers when changing sketch size with windowResize()](https://discourse.processing.org/t/image-flickers-when-changing-sketch-size-with-windowresize/38952/3):
>
> Hello @sableRaph, My exploration of this: // windowResize Flicker // v1.0.0 // GLV 2022-09-23 //References: // https://forum.processing.org/one/topic/flickering-when-using-the-java-frame-resize-method#25080000001705051.html // https://github.com/processing/processing4/blob/main/build/shared/revisions.md PImage img1; int sz; void setup() { windowResizable(true); img1 = loadImage("frog.png"); sz = 200; windowResize(sz, sz); delay(12); frameRate(60); } void draw() { prin…

`:)`

---

_[View the full topic](https://discourse.processing.org/t/sketch-soft-crashes-when-resizing-window/39032)._
