The LivePict example displays a PICT file. Of course, that's not all it does. This example is LiveConnected, meaning that you can interact with it using java and JavaScript. LivePict has one LiveConnect entry point: SetLocation. When this method gets called, LivePict requests a new stream so that it can display the new location.
The LivePict example includes the RelocatablePlugin java class, which is meant to be a reusable class with a standard interface for changing the data which a plugin displays.