You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Piotr Kołaczkowski (Updated JIRA)" <ji...@apache.org> on 2012/02/04 14:41:53 UTC
[jira] [Updated] (PIVOT-782) java7 / applets : input fields not
working
[ https://issues.apache.org/jira/browse/PIVOT-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Piotr Kołaczkowski updated PIVOT-782:
-------------------------------------
Attachment: focus.patch
I debugged it under Chrome and found what is the problem. When you click outside of the applet area, and then back, the REQUEST_GAINED event is *not* sent to the applet.
So you have to regain focus manually.
Adding requestFocus() on key press event does the trick.
Attaching a patch (just one single line).
> java7 / applets : input fields not working
> ------------------------------------------
>
> Key: PIVOT-782
> URL: https://issues.apache.org/jira/browse/PIVOT-782
> Project: Pivot
> Issue Type: Bug
> Components: wtk
> Affects Versions: 2.0, 2.0.1
> Environment: Ubuntu (Linux 2.6.35-30) / java 7 (Oracle) - in Firefox 5 and Chrome 12
> Reporter: laurent Gebus
> Assignee: Sandro Martini
> Fix For: 2.0.2
>
> Attachments: focus.patch
>
>
> input fields in kitchen sink demo and also in Itunes demo are not taking any input
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira