# \[SOLVED\] G4p window refreshing

**URL:** <https://discourse.processing.org/t/solved-g4p-window-refreshing/3966>\
**Category:** Libraries\
**Created:** [September 30, 2018, 1:13am UTC](https://discourse.processing.org/t/solved-g4p-window-refreshing/3966 "2018-09-30T01:13:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeroisnull](https://avatars.discourse-cdn.com/v4/letter/z/a3d4f5/32.png) [@zeroisnull](https://discourse.processing.org/u/zeroisnull)\
**Post date:** [September 30, 2018, 1:13am UTC](https://discourse.processing.org/t/solved-g4p-window-refreshing/3966/1 "2018-09-30T01:13:17Z")

</div>

Hello All.

I am using G4P Library and I have made a form which takes username(textfield) and gender (droplist) but whenever i try to write something, the window keeps on refreshing. How do I tackle it?

Edit: I was able to change it that it can take input but now if I press one key, it displays it more times.  
Edit 2: I made a mistake in the textbox change method. All good now
