# Can you run a Processing sketch and hide the Canvas Window?

**URL:** https://discourse.processing.org/t/can-you-run-a-processing-sketch-and-hide-the-canvas-window/18542
**Category:** Processing
**Created:** [March 9, 2020, 8:28pm UTC](https://discourse.processing.org/t/can-you-run-a-processing-sketch-and-hide-the-canvas-window/18542 "2020-03-09T20:28:51Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)
#### Post date: [March 11, 2020, 4:49am UTC](https://discourse.processing.org/t/can-you-run-a-processing-sketch-and-hide-the-canvas-window/18542/3 "2020-03-11T04:49:16Z")

</div>

Try this code and see if it makes sense: [Fake Invisible Screen](https://discourse.processing.org/t/fake-invisible-screen/17611)

If you do not need Processing, you could just write a simple java application although you might need to use other non-Processing code.

I am thinking you could set the size of the window to the minimum which is 100x100 and then use the robot class to move your window off the visible screen, like moving it to one corner of your window. I do not have a demo but you should find some leads if you search for `setLocation()`.

Try this:

- [https://discourse.processing.org/search?q=setlocation](https://discourse.processing.org/search?q=setlocation)
- [https://discourse.processing.org/search?q=robot](https://discourse.processing.org/search?q=robot)

I am just thinking loud…

Kf

---

_[View the full topic](https://discourse.processing.org/t/can-you-run-a-processing-sketch-and-hide-the-canvas-window/18542)._
