classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: LookAndFeel implementations, cleanup of BasicListUI an


From: Anthony Balkissoon
Subject: [cp-patches] FYI: LookAndFeel implementations, cleanup of BasicListUI and BasicTableUI
Date: Thu, 20 Oct 2005 15:02:15 -0400

This patch implements the stubbed methods loadKeyBindings, makeInputMap,
makeComponentInputMap, and makeKeyBindings in javax.swing.LookAndFeel.

I also noticed that a previous problem we had with improper modifiers
being sent with KeyEvents was fixed so I removed the private method
convertModifiers from BasicListUI and BasicTableUI and cleaned up the
code in installKeyBoardActions in both of those files.

2005-10-20  Anthony Balkissoon  <address@hidden>

        * javax/swing/LookAndFeel.java:
        (loadKeyBindings): Implemented and added docs.
        (makeComponentInputMap): Likewise.
        (makeInputMap): Likewise.
        (makeKeyBindings): Likewise.
        * javax/swing/plaf/basic/BasicListUI.java:
        (convertModifiers): Removed this no longer needed private method.
        (installKeyboardActions): Removed the code relating to modifier
        conversion and made code more readable by using local variables.
        * javax/swing/plaf/basic/BasicTableUI.java:
        (convertModifiers): Removed this no longer needed private method.
        (installKeyboardActions): Removed the code relating to modifier
        conversion and made code more readbale by using local variables.

--Tony





reply via email to

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