Search code examples
netbeansactiontoolbarnetbeans-platformnetbeans7.0

Netbeans 7 - how to define the order of the tooldbars


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.


Solution

  • 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