This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 44464

Summary: Java Platform Manager: Hide root handles of platform category
Product: java Reporter: jrojcek <jrojcek>
Component: UnsupportedAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41835    

Description jrojcek 2004-06-07 17:24:39 UTC
The root handles should be hidden in the platforms' tree and its 
icon should be the folder icon (following the L&F).
Comment 1 Tomas Zezula 2004-06-08 09:56:09 UTC
Removing
platform/src/org/netbeans/modules/java/platform/resources/platformList.gif;
/cvs/java/platform/src/org/netbeans/modules/java/platform/resources/platformList.gif,v
 <--  platformList.gif
new revision: delete; previous revision: 1.2
done
Processing log script arguments...
More commits to come...
Checking in
platform/src/org/netbeans/modules/java/platform/ui/PlatformsCustomizer.form;
/cvs/java/platform/src/org/netbeans/modules/java/platform/ui/PlatformsCustomizer.form,v
 <--  PlatformsCustomizer.form
new revision: 1.4; previous revision: 1.3
done
Checking in
platform/src/org/netbeans/modules/java/platform/ui/PlatformsCustomizer.java;
/cvs/java/platform/src/org/netbeans/modules/java/platform/ui/PlatformsCustomizer.java,v
 <--  PlatformsCustomizer.java
new revision: 1.7; previous revision: 1.6
done
Comment 2 Tomas Zezula 2004-06-08 09:57:39 UTC
The handles can not be switched off.
Javadoc for JTree:
showsRootHandles

protected boolean showsRootHandles

    True if handles are displayed at the topmost level of the tree.

    A handle is a small icon that displays adjacent to the node which
allows the user to click once to expand or collapse the node. A common
interface shows a plus sign (+) for a node which can be expanded and a
minus sign (-) for a node which can be collapsed. Handles are always
shown for nodes below the topmost level.

    If the rootVisible setting specifies that the root node is to be
displayed, then that is the only node at the topmost level. If the
root node is not displayed, then all of its children are at the
topmost level of the tree. Handles are always displayed for nodes
other than the topmost.

    If the root node isn't visible, it is generally a good to make
this value true. Otherwise, the tree looks exactly like a list, and
users may not know that the "list entries" are actually tree nodes. 
Comment 3 Quality Engineering 2007-09-20 12:04:57 UTC
Reorganization of java component