## Code Gallery |

The code gallery dialog is displayed by choosing Code->Insert from Code Gallery from the menu in the Java code editor dialog.

| Available code snippets are grouped into categories. They show how to use the install4j API in common use cases. The script is shown in a preview on the right side. You can either copy a portion of the script with `CTRL-C` or click [OK] to insert the entire script at the current cursor position. Please note that not all code snippets might be directly usable in the script that you are editing.

| Some java script properties have special code snippets that are only shown for this property. If such code snippets exist, they are displayed in a category with the name of the java script property in bold font.

| The code gallery dialog is quick-search enabled, you can start typing your query when the tree is focused. The search term will be displayed in a yellow dialog at the top of the tree. If no match is found, the search term is displayed in red. If a match is found, the search term is displayed in black and the match is made visible. The matched portion is drawn inverted with a green background. To navigate between matches, you can use the arrow keys or `F3` and `SHIFT-F3`. You can use wildcards in your search term, for example: `Font*Handle`.