CONTENTS

Customizing the GUI

GUI scenes

The editor supports several GUI scenes and each one supports its individual customization parameters.
See scenes descriptions for details:

Default scene
Tech scene
Cad scene
Canvas scene

 

Replacing the buttons icons
  1. Upack the file painter.jar with any ZIP utility (since it's a regular ZIP archive).
  2. Replace the images in the directory icons with your own.
  3. Pack all the files to painter.jar
Translating text labels (your language file)

To display text labels in a different language:

  1. Create a copy of the file english.txt which is located in the directory applet/languages.
  2. Translate labels and messages in your file and save it as (for example) spanish.txt.
  3. Upack the file painter.jar with any ZIP utility (since it's a regular ZIP archive).
  4. Copy your language file into the root of the unpacked archive and pack all the files to painter.jar
  5. Specify your language file with the applet parameter "language": <param name="language" value="spanish.txt">.

Note: The character set of a language file should be Latin-1. If your language can't be represented in Latin-1 use \uXXXX notation for each foreign characters, where XXXX is the charachter's Unicode number.

J-Painter GUI is scalable
J-Painter GUI can be adjusted automatically when the user changes the window size. See an example.