Skip to main content

smoothScrolling behaviour in List

1 reply [Last post]
fabiobond
Offline
Joined: 2004-12-20

Hi all,

I'm playing with list and custom ListCellRenderer.
If I'm not wrong, the "listFocusComponent" is normally drawn before the Renderer component, but during the focus-change animation it's drawn on top of list's items.

Is this a bug or a feature? Should be possible to have it drawn always before the items?

Best regards
Fabio

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Shai Almog

Hi Fabio,
this is documented in the renderer. It is drawn on top during
animation and bellow after the animation.
We are considering the option of changing that in an upcoming drop to
provide this as an optional behavior.

Thanks.

> Hi all,
>
> I'm playing with list and custom ListCellRenderer.
> If I'm not wrong, the "listFocusComponent" is normally drawn before
> the Renderer component, but during the focus-change animation it's
> drawn on top of list's items.
>
> Is this a bug or a feature? Should be possible to have it drawn
> always before the items?
>
> Best regards
> Fabio
> [Message sent by forum member 'fabiobond' (fabiobond)]
>
> http://forums.java.net/jive/thread.jspa?messageID=290732
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>

Shai Almog
http://lwuit.blogspot.com/

[att1.html]