classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: BasicTreeUI fix


From: Anthony Balkissoon
Subject: [cp-patches] FYI: BasicTreeUI fix
Date: Tue, 16 Aug 2005 13:49:31 -0400

This patch makes JTable key registrations match the JDK in that the UI
InputMap-ActionMap pair is registered as the parents of the JTable's
InputMap-ActionMap pair.  Patch is attached.


2005-08-16  Anthony Balkissoon  <address@hidden>

* javax/swing/plaf/basic/BasicLookAndFeel.java:
(initComponentDefaults): Fixed typo.
* javax/swing/plaf/basic/BasicTableUI.java:
(installKeyboardActions): Replaced calls to registerKeyboardAction with
additions to an explicit InputMap-ActionMap pair and then set this
pair as the parent pair to the JTable's.  This matches the JDK where
the UI Input-Action pairs are the parents of the component's.
(ActionListenerProxy): New class.

-Tony

Attachment: JTableKeyInstallationMapPairs.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]