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

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 / }

Use

G4P.messagesEnabled(false);

in setup before you create any G4P controls

1 Like