JDK-4962722 : Tree Traversal is unlike the Mercury Native
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: solaris
  • CPU: x86
  • Submitted: 2003-12-03
  • Updated: 2003-12-04
  • Resolved: 2003-12-04
Related Reports
Relates :  
Description
Tree Traversal is unlike the Mercury Native
 
Steps to reproduce:
---------------------
1)Run SwingSet2, with the gtktheme file as the vm argument. 
2)Change the look and feel to GTK. 
3) Go to Tree Demo. 
4) Select any node and press the right arrow key. 
5) The traversal continues till the last node of the tree. 
6) Now Open Configuration Editor on Mercury OS and repeat step 4. This is unlike the Java implementation. 
This was tested against Tiger b29 and on Mercury build10

Comments
EVALUATION Name: omR10226 Date: 12/04/2003 From 4795368: "The defined means for expanding and collapsing tree nodes in GNOME/GTK+ is to use the + and - keys ("plus" and "minus"). In Swing JLF, the defined way is left and right arrow. When JTree nodes are displayed in the GTK+ theme, they should use + and -. I suggest that they continue to also use left and right arrow, so that users familiar with the JLF will find that mechanism continues to work with the GTK+ theme." The bug 4795368 was fixed already. And I'm agree that a swing tree under GTK L&F should support left and right arrows also. It's not a bug. ======================================================================
11-06-2004