Thanks for the reply!

I tried your suggested solution with the Memory toolbar. I added the following 
to my branding module's layer.xml:
<folder name="Toolbars">
        <file name="Memory_hidden"/>
</folder>

That seemed to remove the toolbar entirely, not just uncheck it.  I would like 
to keep the toolbar, just have in unchecked as default.

[cid:image002.png@01D916A4.5BAD6C40]

Thank You!

Joe Huber
Standard Refrigeration LLC
2005 Reverchon Dr
Arlington, TX  76017
Desk: 608-855-5808
Mobile: 682-777-8374
Email: jhu...@stanref.com

From: Eirik Bakke <eba...@ultorg.com>
Sent: Friday, December 23, 2022 5:49 AM
To: Joseph Huber <jhu...@stanref.com.INVALID>; users@netbeans.apache.org
Subject: RE: Setting default toolbar appearance in Platform App

>From the branding module's layer.xml file, you should be able to do something 
>like this:

<filesystem>
  <!-- To hide the entire toolbar. -->
  <file name="Toolbars_hidden"/>
  <!-- To hide individual toolbar groups. -->
  <folder name="Toolbars">
    <file name="Build_hidden"/>
    <file name="Clipboard_hidden"/>
    <file name="File_hidden"/>
    <file name="UndoRedo_hidden"/>
    <file name="QuickSearch_hidden"/>
    <file name="Memory_hidden"/>
  </folder>
</filesystem>

-- Eirik

From: Joseph Huber 
<jhu...@stanref.com.INVALID<mailto:jhu...@stanref.com.INVALID>>
Sent: Thursday, December 22, 2022 5:46 PM
To: users@netbeans.apache.org<mailto:users@netbeans.apache.org>
Subject: Setting default toolbar appearance in Platform App

Hello!

In the branding module for my Netbeans Platform application, under <this layer 
in context>|Toolbars, I have:  File, Clipboard, Undo/Redo, Performance, and 
Standard.  After a Clean and Build of my app, Clipboard will be turned off in 
the application, and all the others will be on, as shown below.

How can I turn Clipboard on and Performance off as "default", so that after 
Clean and Build, Clipboard will be on, and Performance well be off?  One can 
make this adjustment after the app runs, and the app will remember the Toolbar 
settings upon subsequent restarts, but I would like to set the default 
appearance.  Probably something simple, but I can't seem to find it.

[cid:image003.png@01D916A4.5BAD6C40]

Thank You!

Joe Huber
Standard Refrigeration LLC

Reply via email to