# G4P - How to disable 'You might want to add...' console message?

**URL:** https://discourse.processing.org/t/g4p-how-to-disable-you-might-want-to-add-console-message/26373
**Category:** Libraries
**Created:** [December 19, 2020, 2:22am UTC](https://discourse.processing.org/t/g4p-how-to-disable-you-might-want-to-add-console-message/26373 "2020-12-19T02:22:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![MauiMana](https://avatars.discourse-cdn.com/v4/letter/m/91b2a8/32.png) [@MauiMana](https://discourse.processing.org/u/MauiMana)
#### Post date: [December 19, 2020, 2:22am UTC](https://discourse.processing.org/t/g4p-how-to-disable-you-might-want-to-add-console-message/26373/1 "2020-12-19T02:22:06Z")

</div>

Is there any way of disabling the automatic message that gets output to the console suggesting that one adds a method to handle, for example, GButton events? In using GButtons I typically assign handlers at the _specific control_ level and rarely have a need to assign a handler at the _control type_ level. Consequently, I always get the following G4P message output to the console…

> _You might want to add a method to handle GButton events syntax is_  
> _public void handleButtonEvents(GButton button, GEvent event) { /_ code _/ }_

---

<div class="post-metadata">

### Author: ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)
#### Post date: [December 19, 2020, 2:35pm UTC](https://discourse.processing.org/t/g4p-how-to-disable-you-might-want-to-add-console-message/26373/2 "2020-12-19T14:35:34Z")

</div>

Use

`G4P.messagesEnabled(false);`

in `setup` before you create any G4P controls
