# \[Help\] g4p library window related to new window

**URL:** <https://discourse.processing.org/t/help-g4p-library-window-related-to-new-window/23499>\
**Category:** Libraries\
**Tags:** homework\
**Created:** [August 26, 2020, 8:42am UTC](https://discourse.processing.org/t/help-g4p-library-window-related-to-new-window/23499 "2020-08-26T08:42:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [August 26, 2020, 8:42am UTC](https://discourse.processing.org/t/help-g4p-library-window-related-to-new-window/23499/1 "2020-08-26T08:42:30Z")

</div>

[Help] g4p library window related to new window

Hello. Thank you for your interest in my problem. I made a new window through the’g4p’ library.  
It would be nice if the created new window was above the’MAIN Windows program’.

Is there a way?

 ![a1](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/3/397e5fc506eadea627bc1e160c73234878d943da.jpeg)

When’MAIN Windows program’ is activated,‘Sub windows program’ disappears.

I always wish to have’Sub windows program’ above’MAIN Windows program’. Is there a way?

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [August 26, 2020, 1:16pm UTC](https://discourse.processing.org/t/help-g4p-library-window-related-to-new-window/23499/2 "2020-08-26T13:16:51Z")

</div>

![solve](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/4/480ce07c2f8d1ec678ebae05c0482da3732222a6.jpeg)

window.setAlwaysOnTop(true);

solve!!

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [September 14, 2020, 1:46am UTC](https://discourse.processing.org/t/help-g4p-library-window-related-to-new-window/23499/3 "2020-09-14T01:46:37Z")

</div>

Thank you for sharing your solution, @GWAK!
