Page 1 of 1
How to substitute icons with java endorsed mechanism
Posted: Tue Oct 02, 2012 11:29 pm
by Vincent
Hi,
With the java endorsed mechanism, we are able to personnalised some text (error, alert etc.).
However, we don't how to change icons... what is the way to proceed ?
For example if I want to change those icons :
Thank you,
Vincent.
Re: How to substitute icons with java endorsed mechanism
Posted: Wed Oct 03, 2012 9:27 am
by Radu
Hello Vincent,
If you look inside the main Oxygen JAR library:
OXYGEN_INSTALL_DIR\lib\oxygen.jar or
OXYGEN_INSTALL_DIR\lib\author.jar
it contains an
images folder in which all the images which we use for our buttons, menus and toolbars exist.
The images you are looking for are these ones:
TrackChanges*.gif
AcceptChange*.gif
AcceptChange*.gif
ManageTrackChanges*.gif
In order to overwrite them with your own creations:
In the
OXYGEN_INSTALL_DIR\lib directory create a folder called
endorsed.
In that folder create another folder called
images and in that folder add your own images which should have the same names as the original ones.
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.
Regards,
Radu
Re: How to substitute icons with java endorsed mechanism
Posted: Wed Oct 03, 2012 3:37 pm
by Vincent
Thank you Radu,
We succeed !
Vincent.