I’m afraid it’s not clear to me how to use the MessageListener class. I have several components for which I would like to pass messages between. Since the extra parameters in the Message class would be useful, my thought was to derive “CustomMessage” from Message, post one of those via PostMessage, then look for the custom type in the components handleMessage. However the components handleMessage never gets called, and I’m unsure if I need to register the component as a listener somehow.
I see that I can use ActionListener for the same purpose, which may be better suited for the task anyway… though I’m limited to a string message in this case. Just curious why what I did does not work.