You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Chunrong Lai (JIRA)" <ji...@apache.org> on 2007/10/19 11:51:50 UTC

[jira] Commented: (HARMONY-4934) [classlib][EIOffice] JComboBox has focus problem

    [ https://issues.apache.org/jira/browse/HARMONY-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536163 ] 

Chunrong Lai commented on HARMONY-4934:
---------------------------------------


 I see comboBox.hidePopup(); in BasicComboBoxUI$FocusHandler::focusLost().
 In the test case we also have
   public void show() {
        super.show();
        textField.requestFocus(true);
   }
 So the ComboPopup is hiden silently thus can not be seen.

 In RI the ComboPupup is only canceled when some specific actions, for example, componentMove, instead of the general focusLost.

> [classlib][EIOffice] JComboBox has focus problem
> ------------------------------------------------
>
>                 Key: HARMONY-4934
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4934
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Windows XP SP2 && Linux
>            Reporter: evermore
>         Attachments: ComboBoxDemo.jar
>
>
> focus in the combobox.
> click on the arrow button.
> when another component temporary request focuse,the combobox popup will be hide.
> seems like the JComboBox can't deal the temporary focus event correctly
> Suggestion:
> modify BasicComboBoxUI$FocusHandler

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.