Skip to main content

How to become LWUIT team developper ?

7 replies [Last post]
noar
Offline
Joined: 2008-07-22

Hi,

Is it allowed and how to become a LWUIT team developper ?

Thx

Reply viewing options

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

Hi Qunhuan,
this is not a bug. The fire key exits from the list editing mode by
default, you can solve this by invoking list.requestFocus() when
retuning to the form or before leaving it.

This exists to enable navigation in forms with multiple components.

Thanks,
Shai.

> Hi LWUIT team,
>
> I seem to have hit a problem. The following is the steps to
> reproduce it:
>
> When app starts, I create a form (currentForm) with only one list
> component (nothing special) and add actionListener to this list,
> and set the command listener to the form.
>
> When a list item is clicked, a new form (nextForm, which could also
> be list form) is created and shown.
>
> When back key is clicked, I simply do currentForm.show();
>
> The problem is at this moment, the first click on any item of the
> currentForm has no effect. Only second click will trigger the key
> handling.
>
> It seems to me after back to a list form, the first click event is
> lost in the system's event handling logic.
>
> Is it a bug?
>
> Thanks,
>
> Qunhuan
>

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

[att1.html]

Qunhuan Mei

Hi Shai,

Thanks! Chen has already tipped me for this and problem solved.

Have a nice day!

Qunhuan

From: Shai.Almog@Sun.COM [mailto:Shai.Almog@Sun.COM]
Sent: 22 July 2008 13:30
To: users@lwuit.dev.java.net
Subject: Re: Problem: when back to a list form, it needs two clicks to make key click work.

Hi Qunhuan,
this is not a bug. The fire key exits from the list editing mode by default, you can solve this by invoking list.requestFocus() when retuning to the form or before leaving it.

This exists to enable navigation in forms with multiple components.

Thanks,
Shai.

Hi LWUIT team,

I seem to have hit a problem. The following is the steps to reproduce it:

When app starts, I create a form (currentForm) with only one list component (nothing special) and add actionListener to this list, and set the command listener to the form.

When a list item is clicked, a new form (nextForm, which could also be list form) is created and shown.

When back key is clicked, I simply do currentForm.show();

The problem is at this moment, the first click on any item of the currentForm has no effect. Only second click will trigger the key handling.

It seems to me after back to a list form, the first click event is lost in the system's event handling logic.

Is it a bug?

Thanks,

Qunhuan

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

[att1.html]

asterfr
Offline
Joined: 2008-07-17

Get hired by sun ?

chen

Hi,
Check out the lwuit incubator project:
https://lwuit-incubator.dev.java.net/
First sign the SCA license, scan and send to lwuit@sun.com.
Then ask for developer role for the incubator project.

Regards,
Chen

lwuit-users@mobileandembedded.org wrote:
> Get hired by sun ?
> [Message sent by forum member 'asterfr' (asterfr)]
>
> http://forums.java.net/jive/thread.jspa?messageID=288350
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

Qunhuan Mei

Hi LWUIT team,

I seem to have hit a problem. The following is the steps to reproduce it:

When app starts, I create a form (currentForm) with only one list component (nothing special) and add actionListener to this list, and set the command listener to the form.

When a list item is clicked, a new form (nextForm, which could also be list form) is created and shown.

When back key is clicked, I simply do currentForm.show();

The problem is at this moment, the first click on any item of the currentForm has no effect. Only second click will trigger the key handling.

It seems to me after back to a list form, the first click event is lost in the system's event handling logic.

Is it a bug?

Thanks,

Qunhuan

chen

Hi,
What happens is that the List loses focus when you click on it, and when
you return to your form the first navigation gives the fous to the list
and second click moves the item inside, what you can do to workaround
this is to request the focus when you choose back, call
List.requestFocus().

Regards,
Chen

Qunhuan Mei wrote:
> Hi LWUIT team,
>
> I seem to have hit a problem. The following is the steps to reproduce it:
>
> When app starts, I create a form (currentForm) with only one list component (nothing special) and add actionListener to this list, and set the command listener to the form.
>
> When a list item is clicked, a new form (nextForm, which could also be list form) is created and shown.
>
> When back key is clicked, I simply do currentForm.show();
>
> The problem is at this moment, the first click on any item of the currentForm has no effect. Only second click will trigger the key handling.
>
> It seems to me after back to a list form, the first click event is lost in the system's event handling logic.
>
> Is it a bug?
>
> Thanks,
>
> Qunhuan
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

Qunhuan Mei

Hi Chen,

It works perfect now. Thank you so much!

Have a nice day!

Qunhuan

-----Original Message-----
From: Chen.Fishbein@Sun.COM [mailto:Chen.Fishbein@Sun.COM]
Sent: 22 July 2008 12:24
To: users@lwuit.dev.java.net
Subject: Re: Problem: when back to a list form, it needs two clicks to make key click work.

Hi,
What happens is that the List loses focus when you click on it, and when
you return to your form the first navigation gives the fous to the list
and second click moves the item inside, what you can do to workaround
this is to request the focus when you choose back, call
List.requestFocus().

Regards,
Chen

Qunhuan Mei wrote:
> Hi LWUIT team,
>
> I seem to have hit a problem. The following is the steps to reproduce it:
>
> When app starts, I create a form (currentForm) with only one list component (nothing special) and add actionListener to this list, and set the command listener to the form.
>
> When a list item is clicked, a new form (nextForm, which could also be list form) is created and shown.
>
> When back key is clicked, I simply do currentForm.show();
>
> The problem is at this moment, the first click on any item of the currentForm has no effect. Only second click will trigger the key handling.
>
> It seems to me after back to a list form, the first click event is lost in the system's event handling logic.
>
> Is it a bug?
>
> Thanks,
>
> Qunhuan
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net