JDK-4250396 : InputMethod turned off when menu was opened
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 1.2.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.6
  • CPU: sparc
  • Submitted: 1999-06-29
  • Updated: 1999-06-29
  • Resolved: 1999-06-29
Related Reports
Duplicate :  
Description

Name: clC74495			Date: 06/29/99


JDK1.2, Japanese Solaris2.6

When a menu is opened, the InputMethod is deactivated.
That can be confirmed on SwingSet. 
The process of confirmation is shown below.

1. Start SwingSet demo in jdk1.2/demo/jfc/SwingSet.
2. Select PlainText Tab.
3. Activate the InputMethod, and Input something to JTextArea.
4. Click a menu from menu bar (The menu list is opened.), 
   and click it again (The menu list is canceled.).
5. Now, the InputMethod is deactivated.

Because all components share one InputContext,
I think all components should not affect the status
of InputMethod(InputContext).
I looks like that the changing of forcus causes
deactivation of InputContext.
If someone wants to hold the different status as each
TextComponent, he may override the components' getInputContext()
method as they return their own InputContext.
(Review ID: 84894) 
======================================================================

Comments
WORK AROUND Name: clC74495 Date: 06/29/99 None. ======================================================================
11-06-2004