------- Comment #4 from audriusa at bluewin dot ch 2006-01-26 11:41 ------- Created an attachment (id=10731) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10731&action=view) Should additionally fix mouse activation of the edting.
This should make possible to invoke the tree edting actions in the same way as it is done by Sun: 1. Triple mouse click, or 2. Click on the selected node and no more mouse clicks for at least about (on my impression) 800 ms. 2006-01-26 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): Call startEditing when appropriate. (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields. (startEditing): Always edit if directly ordered from MouseHandler.mousePressed. * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): New field. (createTreeCellEditor): Set click count to start. (getTreeCellEditorComponent): Assing realEditor directly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25205 _______________________________________________ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath