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 36742

Summary: FileArrayEditor fires each selection change twice
Product: platform Reporter: _ tboudreau <tboudreau>
Component: Property EditorsAssignee: Denis Anisimov <ads>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description _ tboudreau 2003-10-22 12:04:39 UTC
More of a note to myself to fix this.  

FileArrayEditor is listening on a JFileChooser
(try the mount dialog) for changes.  When you
select a folder with the mouse, JFileChooser will
fire two property changes - one from
setSelectedFile and one from setSelectedFiles. 
FileArrayEditor should discriminate and not refire
both these events - while it's trivial, it is
causing PropertyPanel to try to write the value
back to the property twice - if an error dialog
needed to be shown, there would end up being two
of them.
Comment 1 _ tboudreau 2004-04-19 14:52:56 UTC
Passing property editor issues to new owner, Jirka
Comment 2 Denis Anisimov 2008-03-12 14:44:36 UTC
changeset:   72600:15ceea274cb6