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 - Java Platform Manager: Hide root handles of platform category
Summary: Java Platform Manager: Hide root handles of platform category
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 41835
  Show dependency tree
 
Reported: 2004-06-07 17:24 UTC by jrojcek
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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