Forums > Java

Removing the InfoOutlet; bug or doing something wrong?


Sep 21 2012 | 7:04 am

Hi gang,

Finally getting my hands serious into Java programming for Max (5), basically to support some of my Max for Live projects.

I’d like my object not to have any outlets at all because its only processing incoming data internally. As such I tried using this in the class constructor but it seems Max is ignoring it:

createInfoOutlet(false);

However the info outlet remains visible. Is there something I’m doing wrong or has this behaviour changed in the mean time?

Using the latest Java SE6 btw.

Sep 21 2012 | 12:01 pm

You no longer have the info outlet, but you have the default normal outlet. Try adding

declareOutlet(NO_OUTLETS)

as well. (Code snippet transcribed from page XVI of The Chronicles of Topher La Fata, MMIV AD.)

Sep 22 2012 | 6:21 pm

Hello Nick,

Thanks for your quick comment and well spotted! Indeed; that was the thing I completely overlooked. Added this in the constructor and all is well now.

Thanks again!

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Java