ExamplePlugin Issue

Hi All,

I was taking a look at the Sparkplug Developer Kit and noticed that the installMessageFilter method in the ExamplePlugin does not implement any of the required methods of the MessageFilter interface. It’'s not a big deal but it may throw some people for a loop.

Thanks,

Ryan

Hi Ryan,

some examples are really strange. “How do I add a button to a Chat Room?” describes how to add a button but not how to handle mouse messages, so one may add a useless button.

LG

some examples are really strange. "How do I add a

button to a Chat Room?" describes how to add a button

but not how to handle mouse messages…

As they say in text books, “This exercise is left to the reader”.

Just wondering, how do you go about fixing the problem with installMessageFilter? I’'m relearning java trying to get something to work with this for work and messing with the ExamplePlugin, this really is throwing me for a loop.

Edit: I think I figured it out. It needs a filterIncoming and filterOutgoing method, not a filter method. We’‘ll see if it works. Now to figure out why the plugins aren’'t inserting for me…

Message was edited by: pr0zac