How do I specify the order for my menu items/toolbar buttons/files in the system filesystem?

Apache NetBeans Wiki Index

Note: These pages are being reviewed.

If you are using module development support the IDE, you can manage the order of menu or toolbar items by the help of special node XML Layer which can be found underneath your Important Files. Just find your menu/toolbar item and drag and drop it wherever you need. Appropriate content in the project metadata (layer file) will be generated for you. If this does not work, or you want to know more, read on.

FileObject`s (DevFaqFileObject) in a folder have no defined order by default. You can use `FileUtil.getOrder to sort them. (DataObject`s (DevFaqDataObject) in a folder are always sorted this way.) The order is determined by numeric `position attributes. For all details, see: FolderOrdering103187

Applies to: NetBeans 6.5 and later