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 1987

Summary: DataFolder does not properly refresh its children list after a new file object is added to the file folder it represents.
Product: platform Reporter: Jesse Glick <jglick>
Component: -- Other --Assignee: Jesse Glick <jglick>
Status: CLOSED FIXED    
Severity: major    
Priority: P1    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 1999-06-01 06:59:43 UTC
See attached example file--put it in a package named addtofoldertest and run it with internal execution. The file object is correctly created, and listed among the file folder`s children, and you ca
n even get its data object fine--however, the data object is *not* added to the DataFolder`s list of children, and does not appear in the Explorer.

After IDE restart the new file appears, of course. Sometimes it appears without explanation sometime later, say if you do something else in the directory (such as rename a different file).


Does this maybe have something to do with the fact that FolderList.fileDataCreated has an empty body??
Comment 1 Marian Mirilovic 2002-03-29 17:12:13 UTC
closed