# Off screen display windows placement when using P3D or P2D

**URL:** <https://discourse.processing.org/t/off-screen-display-windows-placement-when-using-p3d-or-p2d/47405>\
**Category:** Coding Questions\
**Created:** [October 20, 2025, 2:24am UTC](https://discourse.processing.org/t/off-screen-display-windows-placement-when-using-p3d-or-p2d/47405 "2025-10-20T02:24:27Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [November 10, 2025, 10:21pm UTC](https://discourse.processing.org/t/off-screen-display-windows-placement-when-using-p3d-or-p2d/47405/9 "2025-11-10T22:21:48Z")

</div>

> [@Chrisir](#):
>
> With `fullScreen(P3D);` the Sketch window was much smaller than the screen (it wasn’t the location as I first thought) and when I used `fullScreen(P3D, 0);` instead, it worked

Similar issue with this on Windows with scaling of 125%:

> [@Renderers (and Windows scaling)](https://discourse.processing.org/t/renderers-and-windows-scaling/47524/3):
>
> Solution on my system with Windows 10 and Windows Scaling = 125% : [DPI Renderer Scaling Override for JAVA2D](https://discourse.processing.org/t/dpi-renderer-scaling-override-for-java2d/47439) This is a workaround on my system for fullscreen(P2D) : /\* \* Fullscreen P2D Workaround \* \* Author: glv \* Date: 2025-11-09 \* \*/ static { // Forces 1:1 pixel rendering by disabling OS-level DPI scaling System.setProperty("sun.java2d.uiScale", "1.01"); // If this is 1.0 it does NOT work! //System.setProperty("sun.java2d.DPIscaling", "false"); // No effect. …

`:)`

---

_[View the full topic](https://discourse.processing.org/t/off-screen-display-windows-placement-when-using-p3d-or-p2d/47405)._
