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.
[s1s5_se](030225_1), [jdk1.4.2](b16) Steps to reproduce: - run IDE - select node and push from popup "Properties" -> properties window is opened, but "No Properties" is shown !!!
It started to happen from continuous build 20030225-1801. Cvs log says: 2003-02-25 17:02 tboudreau * openide/src/org/openide/explorer/propertysheet/PropertySheetTab.jav a: Removed debug code accidentally put into PropertySheetTab.
Actually, build 20030225-1519 was OK, so no only removing debugging code caused this bug. 2003-02-25 16:18 tboudreau * openide/src/org/openide/explorer/propertysheet/: PropertySheet.java, PropertySheetTab.java: Eliminating unnecessary use of WeakListener...
I'll roll back the changes from yesterday until I can figure out what happened. I made a change so that the property sheet doesn't add the "emptyPanel" in its constructor (usually the property sheet will display the properties of something, so adding it just wastes resources and forces an extra paint). Looks like it's getting added too agressively, but this is strange - it worked fine when I tested it before committing.
I suggest to double check your addNotify/removeNotify methods with regards to setNodes. The behaviour looks like some code calling setNodes before addNotify. Just a quess though.
David is correct, the problem was in addNotify. Fixed in PropertySheet 1.107 (a rollback would have invalidated fix for 31413).
Fix committed to today's qbuild branch, QBE20030226010
Fixed doesn't solve Customize bean dialog. Try to call Customize Bean on ColorPicker node for example. There is again empty property sheet.
Fixed in trunk and qbuild branch.
verified in [nb_dev](20030227)