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.
Originally reported by ethan.rider@sun.com Using JDK1.4 beta-refresh build 72 and NetBeans 3.2 the IDE will not show properties of objects and their members in the Object Browser. When an Object or a Member with properties is selected, the Properties Window content is not updated with appropriate information.
Problem is that Nodes in Object Browser seem not to be Nodes. There are no actions on nodes, nodes on enable(Nodes[] nodes) gives node.length == 0.
Trying to debug problem I found that Node[] getActivatedNodes returns node.length == 0, like no node is activated. This bugs leads to have no properties shown and action available but disabled on nodes.
Adding JDK_1.4 keyword. Reproduced also under NB 3.3 [Main trunk build #200107240100] Reassigning to new owner.
Marek, have you heard about any problems with getActivatedNodes on JDK1.4 build 72? Reassigning to you as it seems as problem of window system.
The problem is that objectbrowser does not call TopComponent.setActivatedNodes(). It seems to me that problem is with focus because variable isFacused (yes really isFacused :)) in ExplorerBean is always false under JDK 1.4.0 b 73. (I checked the same with 1.3.1 and this variable is at least sometimes true so it works correctly on 1.3.1.) So I reassign back to objectbrowser. We can look at this focus problem together if necessary we solved some focus problems in window system already (not easy thing). More details: Here is piece of dump stack, problem is that on 1.4.0 in ExplorerBean call of TopComponent.setActivatedNodes from ExplorerBean$1.propertyChange is not performed. at org.netbeans.core.windows.RegistryImpl.selectedNodesChanged(RegistryImpl.java:249) at org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.setActivatedNodes(WindowManagerImpl.j ava:1233) at org.openide.windows.TopComponent.setActivatedNodes(TopComponent.java:162) at org.netbeans.modules.objectbrowser.ExplorerBean$1.propertyChange(ExplorerBean.java:144) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:152) at org.openide.explorer.ExplorerManager.setSelectedNodes(ExplorerManager.java:193)
Assign to psuchomel
Created attachment 2028 [details] Patch for JDK1.4
Target milestone -> 3.3.1.
Set target milestone to TBD
Object browser is dead. No plans to work on this issue anymore. Closing as WONTFIX.