classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Patch: Key Handling for the JTree


From: Lillian Angel
Subject: [cp-patches] Patch: Key Handling for the JTree
Date: Mon, 11 Jul 2005 15:18:59 -0400

The JTree is pretty much fully functional now :)
This patch implements the arrow keys and double-clicking for folders.

2005-07-11  Lillian Angel  <address@hidden>
        * javax/swing/plaf/basic/BasicTreeUI.java
        (getPreviousVisibleNode): Implemented
        (selectPath): helper method, implemented.
        (keyPressed): handles up/down/left/right keys
        (mouseClicked): made more efficent and implemented double 
        clicking for folders.
        * javax/swing/JTree.java
        (clearSelection): Lead selection path is set to null when 
        nothing is currently selected.
        

Attachment: current.diff
Description: Text Data


reply via email to

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