Replace a message with a JPanel object

Hi guys,

I’'m wondering if I can make a plugin that replaces an incoming message with an object, for instance like the JPanel object in Filetransfer. But now using the plugin API? Is this possible? Or do I have to work on the spark code self?

Not sure if I understand this correctly, but I’'ll give it a try.

You can use a MessageListener and create an object based off the message packet.

Could you explain why you want it to be like a JPanel?

The Object you create that listens for Message Packets can inherit from JPanel if you want it to be a JPanel type object.

If you could, explain what you are trying to do and I’'ll be able to give examples.

_Aaron