# Help needed: output window small

**URL:** <https://discourse.processing.org/t/help-needed-output-window-small/6992>\
**Category:** Beginners\
**Created:** [December 29, 2018, 6:01pm UTC](https://discourse.processing.org/t/help-needed-output-window-small/6992 "2018-12-29T18:01:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![blkpanther](https://avatars.discourse-cdn.com/v4/letter/b/d9b06d/32.png) [@blkpanther](https://discourse.processing.org/u/blkpanther)\
**Post date:** [December 29, 2018, 6:01pm UTC](https://discourse.processing.org/t/help-needed-output-window-small/6992/1 "2018-12-29T18:01:39Z")

</div>

Hi, sometimes no matter how I set the canvas size, after pressing run, the output is a tiny window. Normally it’s a much bigger canvas. What could be the problem and how to tackle it? Thanks so much.

 ![outputwindow](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/7/78ddcefa111e66251b0e02901722fad18753e377.png)

---

<div class="post-metadata">

**Author:** ![Kevin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kevin/32/2297_2.png) [@Kevin](https://discourse.processing.org/u/Kevin)\
**Post date:** [December 29, 2018, 6:40pm UTC](https://discourse.processing.org/t/help-needed-output-window-small/6992/2 "2018-12-29T18:40:53Z")

</div>

In the future, please don’t post screenshots of code. Post them as text, preferably in the form of a [MCVE](https://stackoverflow.com/help/mcve).

Note that Processing is case-sensitive. It should be `setup()` instead of `setUp()`.

Also note that `size()` should be the first function you call.

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [December 29, 2018, 6:50pm UTC](https://discourse.processing.org/t/help-needed-output-window-small/6992/3 "2018-12-29T18:50:06Z")

</div>

as has been said, your function setUp was never run (because it was setUp and not setup) and hence the size command was not executed

setUp and setup is a difference because it’s case-sensitive

---

<div class="post-metadata">

**Author:** ![blkpanther](https://avatars.discourse-cdn.com/v4/letter/b/d9b06d/32.png) [@blkpanther](https://discourse.processing.org/u/blkpanther)\
**Post date:** [December 29, 2018, 8:04pm UTC](https://discourse.processing.org/t/help-needed-output-window-small/6992/4 "2018-12-29T20:04:12Z")

</div>

Thank you! Didn’t realize setUp was causing the issue.

---

<div class="post-metadata">

**Author:** ![Kevin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kevin/32/2297_2.png) [@Kevin](https://discourse.processing.org/u/Kevin)\
**Post date:** [December 29, 2018, 8:33pm UTC](https://discourse.processing.org/t/help-needed-output-window-small/6992/5 "2018-12-29T20:33:12Z")

</div>

You might want to get into the habit of debugging your code:

> **[Debugging Processing](https://happycoding.io/tutorials/processing/debugging)**
>
> How to fix errors in your code.

For example, a simple `println("here");` statement inside the `setUp()` function would have shown that it wasn’t being called.
