Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ツールバーの順序を変更しようとしています。netbeans 7より前は、layout.xml /に従って順序が設定されていましたが、netBeans7ではすべて注釈です。
アノテーションが行うのは、layer.xmlファイルを作成することだけです(実行時に私は思います)。
独自のlayer.xmlファイルを作成し、そこでツールバーの順序を変更することもできます。レイヤーファイルがマニフェストで参照されていることを確認してください。
実行時に、すべてのレイヤーがマージされます-手動で作成したレイヤーと注釈から派生したレイヤーを含みます