# After importing one icon i want to give functionality

**URL:** <https://discourse.processing.org/t/after-importing-one-icon-i-want-to-give-functionality/15859>\
**Category:** Libraries\
**Created:** [November 27, 2019, 9:15am UTC](https://discourse.processing.org/t/after-importing-one-icon-i-want-to-give-functionality/15859 "2019-11-27T09:15:09Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [December 2, 2019, 2:16pm UTC](https://discourse.processing.org/t/after-importing-one-icon-i-want-to-give-functionality/15859/17 "2019-12-02T14:16:14Z")

</div>

please format your code posting by pasting it into the

```auto
</> code button

```

of the editor header menu ( context name: Preformatted text )  
it looks like  
```  
type or paste code here  
```

also can use the ``` manually above and below your code.

thank you.

* * *

you switched to G4P lib,  
good

* * *

no, i not talk WINDOW, i talked SCREEN ( same window / different content )

but G4P can do good 2 window applications,  
see [[SOLVED] G4P options in second window problem](https://discourse.processing.org/t/solved-g4p-options-in-second-window-problem/4552/3) here  
if it fits into your program flow

* * *

basically,  
a second window can have the G4P text edit fields  
with own event handler store the text content ( on ENTER )  
to global variables.  
so independent if window closed or not  
the input is available in main window.

---

_[View the full topic](https://discourse.processing.org/t/after-importing-one-icon-i-want-to-give-functionality/15859)._
