Displaying plugin GUI in client window

Id like to display my plugins JPanel in a database form. For example if I could get the right container with a script I could pass it to the plugin to render itself. But I dont know how to get the specified container. Has anybody tried this ?
[/b]