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.
Product Version: NetBeans IDE Dev (Build 20080428054446) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Description: ============ have basic JDA project 1. open Application Action Editor with all listed action 2. select e.g. "closeAboutBox" action => closeButton is listed in bound component window 3. press "q" in textbox for search see - correct action is listed (quit) but bounded component hasn't been relevant yet - it corresponds with previous selection.
Reproducible. The reason is that no item is selected in the list when searching. The list (with components and actions) should force a select of the 1st (or 0th?;)) item while searching.
in case, user selects action, which comes from search, bound components are not changed and remain in the same state as before searching. So it doesn't matter if item is selected or not. Search must be canceled to restore correct updating of bound components.
There seems to be two issues: 1. The Bounds Components are not cleared when nothing is selected. 2. When the table is filtered then the selection is not correctly calculated. The selected index still refers to the original (e.g. non-filtered) table. Try for example to type 'q' into Search, select the only (e.g. quit) action and press Edit Action. The Close action is being edited instead.
Fixed - the described test-case works by now. Modified files: http://hg.netbeans.org/main?cmd=changeset;node=a6021a3e58fa (the first issue e.g. empty selection) http://hg.netbeans.org/main?cmd=changeset;node=aca9f084065a (the second issue e.g. index in filtered table)
verified on Product Version: NetBeans IDE Dev (Build 20080611050940) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)