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.
}
public DataFolder getRootFolder () {
if (rootFolder == null) {
// if rootFolder is null then initialize folder
doSetKeys ();
return rootFolder;
/** Updates the keys.
*/
private void updateKeys () {
// post task, because updateKeys might be in Mutex.readAccess
RequestProcessor.getDefault().post(new Runnable() {
public void run() {
rootFolder = wizard.getTemplatesFolder ();
setKeys (rootFolder.getNodeDelegate ().getChildren ().getNodes (true));
});
// don't call from Mutex.readMutex
private void doSetKeys () {
/** Fired when the order of children is changed.