Customize the Default Icons for Toolbars/Menus

Question

How can we change the default icons used for the application built-in actions?

Answer

If you look inside the main JAR library [OXYGEN_INSTALL_DIR]\lib\oxygen.jar or [OXYGEN_INSTALL_DIR]\lib\author.jar, it contains an images folder that contains all the images that we use for our buttons, menus, and toolbars.

To overwrite them with your own creations, follow these steps:

  1. In the [OXYGEN_INSTALL_DIR]\lib directory create a folder called endorsed.
  2. In the endorsed folder create another folder called images.
  3. Add your own images in the images folder.

You can use this mechanism to overwrite any kind of resource located in the main oXygen JAR library. The folder structure in the endorsed directory and in the main oXygen JAR must be identical.

Was this helpful?