问题
i'm trying to change the toolbars order. before netbeans 7 the order was set according to the layout.xml/ but in netBeans 7 it is all annotation.
回答1:
All the annotations will do is create a layer.xml file for you (At runtime I think).
You can still create your own layer.xml file and change the order of the toolbars in there. Just make sure that your layer file is being referenced in the manifest.
At Runtime all the layers will be merged together - including the one that you manually create and the one derived from the annotations
来源:https://stackoverflow.com/questions/8033904/netbeans-7-how-to-define-the-order-of-the-tooldbars