Skip to main content

List Selections

2 replies [Last post]
ckurtm
Offline
Joined: 2008-03-12
Points: 0

I've noticed if i create a list with the object array constructor of lists, when i do a selection in the list, i have to click twice before i move focus from one selection to the next. Is there a way of avoiding this?

Reply viewing options

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

Hi,
we use this constructor frequently and haven't run into such an
issue. Please provide code to reproduce and further details.

Thanks,
Shai.

> I've noticed if i create a list with the object array constructor
> of lists, when i do a selection in the list, i have to click twice
> before i move focus from one selection to the next. Is there a way
> of avoiding this?
> [Message sent by forum member 'ckurtm' (ckurtm)]
>
> http://forums.java.net/jive/thread.jspa?messageID=288351
>
> ---------------------------------------------------------------------
> 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]

ollie01
Offline
Joined: 2008-07-24
Points: 0

List.requestFocus() need to be called after selection, or two click will be needed to move to the next item.

> Hi,
> we use this constructor frequently and haven't run
> into such an
> issue. Please provide code to reproduce and further
> details.
>
> Thanks,
> Shai.
>
> > I've noticed if i create a list with the object
> array constructor
> > of lists, when i do a selection in the list, i have
> to click twice
> > before i move focus from one selection to the next.
> Is there a way
> > of avoiding this?
> > [Message sent by forum member 'ckurtm' (ckurtm)]
> >
> >
> http://forums.java.net/jive/thread.jspa?messageID=2883
> 51
> >
> >
> ------------------------------------------------------
> ---------------
> > 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]