Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/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 QA Contact: issues <issues.netbeans.org>
Priority: P1    
Version: 3.x   
Target Milestone: TBD   
Hardware: All   
OS: All   
Whiteboard:
Issue Type: DEFECT Exception Report:

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
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo