Thanks for the replies Neil & Klaus, Unfortunately I can't seem to get it to work. >From Neil's examples, it seems like it a modification to the IDE files that >will also get propagated to the built application. I'd prefer to leave the IDE >as-is and only have the app with Performance not visible by default. So I tried following the outline on the Apache NB FAQ linked by Klaus, no effect.Clearly it would seems I've misunderstood something. I created a layer.xml for a module and edited it so: <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" "http://www.netbeans.org/dtds/filesystem-1_2.dtd"><filesystem> <folder name="Toolbars"> <file name="MyToolbar.xml" url="MyToolbar.xml"/> </folder></filesystem>
I created file MyToolbar.xml: <?xml version="1.0"?><!DOCTYPE Configuration PUBLIC "-//NetBeans IDE//DTD toolbar 1.1//EN" "http://www.netbeans.org/dtds/toolbar1_1.dtd"><Configuration> <Row> <Toolbar name="File" /> <Toolbar name="Performance" visible="false" /> </Row> </Configuration> In the module's Installer, I put in the restored() method: SwingUtilities.invokeLater(() -> { ToolbarPool.getDefault().setConfiguration("MyToolbar"); }); I also tried: - replacing "Performance" with "Memory" - similarly creating Standard.xml in same module, on its own, and also together with MyToolbar Maybe, I'm missing something simple(?) Thanks.Mike