IBM Support

PQ93727: JTREE DOES NOT PROCES KEYEVENT CORRECTLY WHEN USING MOTIF L&F

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the MOTIF L&F class
    com.sun.java.swing.plaf.motif.MotifLookAndFeel JTree does
    not respond correctly when the user navigates using the
    arrow keys.
    Select a node in the JTree, use the up/down arrows to move
    to a different node. The outline moves in response to the
    KeyEvent but the selected node does not change meaning that
    a TreeSelectionEvent is not fired to indicate that the node
    has actually been selected. Without this the application
    cannot respond to the tree being navigated.
    This works fine with both
    javax.swing.plaf.metal.MetalLookAndFeel and
    com.sun.java.swing.plaf.windows.WindowsLookAndFeel.
    

Local fix

Problem summary

  • In Motif Look and Feel, when up/down arrow key is used,
    only the outline moves, instead of the node getting
    highlighted to indicate that the node has been actually
    selected.
    

Problem conclusion

  • The problem was resolved by modifying the code to highlight
    the selected node when up/down arrow keys is used.
    .
    To obtain the fix:
    Install build 20041007 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PQ93727

  • Reported component name

    JAVA(1.3/1.4 CO

  • Reported component ID

    5648C9800

  • Reported release

    41A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2004-09-02

  • Closed date

    2005-02-08

  • Last modified date

    2005-02-08

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA(1.3/1.4 CO

  • Fixed component ID

    5648C9800

Applicable component levels

  • R410 PSN

       UP

  • R41A PSN

       UP

  • R41L PSN

       UP

  • R41W PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.4.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 February 2022