users@woodstock.java.net

Re: When is "beginEncode" method called for DesignTimeRenderer?

From: Animesh Sahay <animesh.sahay_at_gmail.com>
Date: Tue, 10 Jun 2008 20:07:02 +0530

I would suggest you to look into the design-time code for the existing
woodstock components. That will give you the idea about how to achieve
certain design-time behavior for the components.

-Animesh

On 6/10/08, Jae-Woo Lee <l.jaewoo_at_gmail.com> wrote:
> Hi,
>
> I am developing a custom component now.
> I made a DesignTimeRenderer for the component and
> I expected that beginEncode is invoked when I drag and drop my component
> from palette.
> But the method was not invoked and nothing is displayed on Design Pane.
> Could anyone tell me what conditions are required if I want to see a small
> images (like a label or button
> when you drag and drop it from a palette.) ?
> Thank you in advance.
>
> Sincerely,
> Jae-Woo