18. Options dialog

18.1. General options
18.2. Editor options
18.3. Editor colors
18.4. Font settings
18.5. Auto-completion options
18.6. Workspace options
18.7. Options for displaying data
18.8. Options for formatting data
18.9. Options for data editing
18.10. DbExplorer options
18.11. Window Title
18.12. SQL Formatting
18.13. SQL Generation
18.14. External tools
18.15. Look and Feel

The options dialog enables you to influence the behaviour and look of SQL Workbench/J to meet your needs. To open the options dialog choose ToolsOptions.

18.1. General options

18.1.1. Language

With this option you can select in which language the application is shown. The new value will only be in affect when you restart the application.

18.1.2. Check for updates

With this option you can enable an automatic update check when SQL Workbench/J is started. You can define the interval in days after which the application should check for updates on the homepage. If a newer version is found on the website this will be indicated with a little globe in the statusbar. Clicking on the icon will open your default internet browser with the application's homepage.

If you disable this option, you can manually check for updates using the menu HelpCheck for updates....

When SQL Workbench/J performs an update check, it sends the following information as part of the request to the server:

  • The version of SQL Workbench/J you are using
  • Whether the check was an automatic check or a manual one
  • The interface language selected
  • The operating system as reported by your Java installation
  • The Java version you are using

18.1.3. Show connect dialog

If this option is enabled, the connect dialog will be shown automatically when the application is started.

18.1.4. Exit on first connect cancel

If this option is enabled, then the application is closed completely if the initial connect dialog is cancelled.

This option is only valid if "Show connect dialog" is selected.

18.1.5. Single page HTML help

If this option is enabled, the HTML help will be shown as a single page in the browser instead of one page per chapter.

18.1.6. Encrypt passwords

If this option is enabled, the password stored within a connection profile will be encrypted. Whether the password should be stored at all can be selected in the profile itself.

[Note]

Using this option only supplies very limited security. As the source code for SQL Workbench/J is freely available, the algorithm to decrypt the passwords stored in this way can easily be extracted to retrieve the plain text passwords.

18.1.7. Consolidate script log

Usually SQL Workbench/J reports the success and timings for each statement that is beeing executed in the message tab of the current SQL panel. For large scripts this can slow down script execution dramatically. If this option is enabled, only a summary of the execution is printed once the script has finished. You can turn off the log during script execution by using the WBFEEDBACK command.

18.1.8. Show tab index

If this option is enabled, each editor tab will be shown with its index. You can then select the first 9 tabs by pressing Ctrl-1, Ctrl-2 and so on.

18.1.9. Scroll tabs

This option controls the behaviour of the tab display, if more tabs are opened than can be displayed in the current width of the window.

If this option is enabled, the tabs are always displayed in a single row. If too many tabs are open, the row can be scrolled to the display the tabs that are not visible.

If this option is disabled, the tabs are displayed in multiple rows, so that all tabs are always visible.

18.1.10. Confirm tab close

If this option is enabled, closing a tab needs to be confirmed, to prevent accidental closing.

18.1.11. Enable animated icons

Enable or disable the use of an animated icons in the SQL editor to indicate a running SQL statement. It has been reported, that the animated icon does have a severe (negativ) impact on the performance on some computers (depending on JDK/OS/Graphics driver). If you experience a high CPU usage during the execution of SQL statements, or if you find your SQL statements are running very slow, try to turn off the usage of the animated icons.

18.1.12. Log Level

With this option you can control the level of information written to the application log. The most verbose level is DEBUG. With ERROR only severe errors (either resulting from running a user command or from an internal error) are written to the application log.

When using Log4J as the logger, this will change the log level of the root logger.

18.1.13. Configuration file information

At the bottom of the "General options" page, the full filename of the configuration file and the logfile are listed.

18.2. Editor options

18.2.1. Line ending for DBMS

This property controls the line terminator used by the editor when sending SQL statements to the database. The value "Platform default" relates to the platform where you run SQL Workbench/J this is not the platform of the DBMS server.

The editor always uses "unix" line ending internally. If you select a different value for this property, SQL Workbench/J will convert the SQL statements to use the desired line ending before sending them to the DBMS. As this can slow down the execution of statements, it is highly recommended to leave the default setting of Unix line endings. You should only change this, if your DBMS does not understand the single linefeed character (ASCII value 10) properly.

18.2.2. File format

This property controls the line terminator used when a file is saved by the editor. Changing this property affects the next save operation.

18.2.3. Alternate Delimiter

This options defines the default alternate delimiter. You can override this default in the connection profile, to use different delimiters for different DBMS. For details see using the alternate delimiter

18.2.4. History size

The number of statements per tab which should be stored in the statement history. Remember that always the full text of the editor (together with the selection and cursor information) is stored in the history. If you have large amounts of text in the editor and set this number quite high, be aware of the memory consumption this might create.

18.2.5. Files in history

If this option is enabled, the content of external files is also stored in the statement history.

18.2.6. Electric scroll

Electric scrolling is the automatic scrolling of the editor when clicking into lines close to the upper or lower end of the editor window. If you click inside the defined number of lines at the upper or lower end, then the editor will scroll this line into the center of the visible area. The default is set to 3, which means that if you click into (visible) line 1,2 or 3 of the editor, this line will be centered in the display.

18.2.7. Editor tab width

The number of spaces that are assumed for the TAB character.

18.2.8. Additional word characters

The editor recognizes character sequences that consist of letters and characters only as "words". This influences the way word by word jumping is done, or when selecting text using a doubleclick. Every character that is entered for this option is considered a "word" character and thus does not mark a word boundary.

By putting e.g. an underscore into this field, the text MY_TABLE is recognized as a single word instead of two words (which is the default).

18.2.9. Always allow "Execute Selected"

If this option is turned off, then SQLExecute Selected will only work if text is selected in the editor. If this option is turned on and no text is selected, the complete content of the editor will be executed.

18.2.10. Allow empty lines as statement delimiter

When analysing statements in the editor, it is assumed that individual statements are separated with a semicolon. This property controls if an empty line delimits a statement as well. This setting will be used to detect the current statement for auto-completion and when using "Execute Current" inside the editor.

[Note]

This does not influence the behaviour when running scripts in batch mode or when using the WbInclude command.

18.2.11. Auto advance to next statement

If this option is enabled, then the cursor will automatically jump to the next statement in the script, when you execute a single statement using Ctrl-Enter ("Run current statement"). This can also be toggled through the menu SQLAuto advance to next

For more information on how you can execute statements in the editor, please refer to Executing Statements

18.2.12. Highlight current statement

When running several statements (e.g. by using "Execute all") this option will highlight the current statement. The editor will be scrolled to make sure the currently executed statement is visible.

18.2.13. Retain current statement highlight

If "Highlight current statement" is enabled and this option is turned on, the highlighting will be kept once execution has finished.

18.2.14. Allow editing while executing

When running a statement, the editor is set to read-only in order to allow a consistent statement highlighting. When this option is turned on, the text in the editor may be modified even if a statement is running. If the text in the editor is modified during execution, statement and error highlighting will not be done any more.

18.2.15. Right click moves cursor

Normally a right click in the SQL editor does not change the location of the cursor (caret). If this option is checked, then a right click will also change the caret's location (to where the mouse cursor is located)

18.2.16. Current directory follows active file

If this option is enabled, the file open dialog will default to the directory of the current file in the editor. If no file is loaded in the editor, the directory that is defined through the "Default directory" option will be selected.

18.3. Editor colors

18.3.1. Current line color

If you want to highlight the line in which the cursor is located, specify the color for the highlighting. To disable the highlight for the current line, simply "remove" the color selection by clicking on the remove button.

18.3.2. Selected text

The color that is used to highlight selected text.

18.3.3. Error highlight color

When a statement is not executed correctly (and the DBMS signals an error) it is highlighted in the editor. With this option you can select the color that is used to highlight the incorrect statement.

18.3.4. Syntax highlighting colors

You can change the colors for the different types of keywords in the editor.

18.4. Font settings

18.4.1. Editor font

The font that is used in the SQL editor. This font is also used when displaying the SQL source for tables and other database objects in the DbExplorer.

18.4.2. Data font

The font that is used to display result sets. This includes the object list and results in the DbExplorer.

18.4.3. Message font

The font that is used in the message pane of the SQL window.

18.4.4. Standard font

The standard font that is used for menus, lables, buttons etc.

18.5. Auto-completion options

18.5.1. Paste completion in

With this option you can select how the selected object name from the code completion popup is pasted into the editor. As is means, that the values will be inserted into the editor as it was retrieved from the database. This option will also be used when SQL statements are generated internally (e.g. for updating the result set or when you export/copy data as SQL statements)

18.5.2. Sort pasted columns by

When selecting to paste all (or several columns) from the popup window, you can select with this option, in which order the columns should be written into the editor.

When using the quicksearch feature in the code completion this option controls the behaviour when hitting the ESC key. If this option is enabled, the ESC key will also close the popup window with the available choices. If this option is disabled, the ESC key will only close the quicksearch input field.

18.5.4. Sort entries in popup

If this is enabled, columns are sorted alphabetically in the popup. If not, they are listed in the order as they are returned by the the database.

18.5.5. Quick search matches anywhere

If this option is enabled, the typed characters match anywhere in the object name. If this optioin is disabled, the object name must start with the entered search value.

18.5.6. Filter by quicksearch

When this option is enabled, only those entries are shown in the popup that match the entered values in the quick search.

18.6. Workspace options

18.6.1. Auto-Save workspace

If this option is enabled, the current workspace is saved each time you run a SQL statement.

18.6.2. Create workspace backup

If this option is enabled the current workspace file will be backed up, before saving the new workspace. You can keep multiple versions of the workspace by supplying a number in the "Max. Backups" input field. If a value > 1 is entered, saving the workspace will create a new "version" of the backup file. The versions will have the version number appended (e.g. testdata.wksp.1, testdata.wksp.2 and so on). The most recent version is the one with the highest number.

18.6.3. Workspace backup directory

By default the backups for the workspaces are stored in the same directory as the workspace file itself. If you want to keep the (versioned) backups in a separate directory, you can specify it here.

If you specify a relative directory, it will be relative to the config directory.

18.6.4. Remember open files in workspace

You can customize how external files (that have been loaded using FileOpen) are remembered in the workspace. You can select three different options:

Content and filename

When this option is selected, the filename that is loaded in the editor tab will be stored in the workspace. The next time the workspace is loaded the file is opened as well. This is the default setting

Content only

When this option is selected, only the content of the editor tab is save (just like any other editor tab), but the link to the filename is removed. The next time the workspace is loaded, the file will not be opened.

Nothing

Neither the content, nor the filename will be saved. The next time th workspace is loaded, the editor tab will be empty.

18.7. Options for displaying data

18.7.1. Sort Locale

When you sort the result set, characters values will be sorted case-sensitiv by default. This is caused by the compareTo() method available in the Java environment which puts lower case characters in front of upper case characters when sorting. With the "Sort Locale" option you can select which language rules should be applied while sorting. Note that sorting with a locale is slower than using the "Default" setting.

18.7.2. Show selection summary in statusbar

If this option is enabled the number of selected rows in the result will be displayed in the status bar.

If you have a single numeric column selected (by holding down the Alt key while selecting with the mouse), the statusbar will display the sum of the selected values.

18.7.3. Displaying multi-line values

SQL Workbench/J uses a special renderer for the contents of CLOB columns that is capable of displaying multiple lines (i.e. honors newlines and linefeeds in the data retrieved from the database).

This multi-line renderer is usually not applied for VARCHAR columns. If your database stores text in VARCHAR columns that contains line breaks, you can define a threshold for the length of the column. Any column that is defined with a higher value will be displayed with a multiline renderer.

The default value of 250 means that a VARCHAR(250) column will be displayed with the multiline renderer. A VARCHAR(210) will be displayed in a single line.

Using the multiline renderer has some minor drawbacks when editing the data, and is be a bit slower when displaying large result sets.

The feature Adjust row height only works with multi-line fields.

18.7.4. Column width settings

Automatically adjust column widths

If this option is enabled, the widths of the result set columns are automatically adjusted to fit the largest value (respecting the min. and max. size settings) after retrieving data. Note that you can manually optimize the column widths using ViewOptimize width for all columns.

Adjust to column headers

When calculating the optimal width for a column (either manually or if "Auto adjust column widths" is enabled, then the column's label will be included in the width calculation if this option is enabled. If this option is disabled, and the column contains very short values, the column width could be smaller than the column's label.

This option is also used when manually optimizing the column width,

Max. column width

When the initial display size of a column is calculated, or if you optimize the column widths to fit the actual data, columns will not exceed this width. This is useful when displaying large character columns.

Min. column width

When the initial display size of a column is calculated, or if you optimize the column widths to fit the actual data, columns will not exceed this width.

18.7.5. Row height settings

Automatically adjust row height

If this option is enabled, the height of each column is automatically adjusted after data retrieval to display as many lines of the column values (for character columns) as possible. Note that you can manually optimize the row height using ViewOptimize row height.

Not every (character) column is displayed in a manner that multiple lines will be displayed. The default setting is to always display CLOB columns as multiline. VARCHAR (and CHAR) columns will only be displayed in multiline mode if they can hold more than 250 characters. This limit can be changed.

Allow row height resizing

If this option is enabled, you can manually adjust the height of each row using the mouse. This option does not need to be enabled in order to (automatically) optimize the row height.

Max. number of lines

When calculating the optimimal height for each row, the number of lines defined with this option will never be exceeded.

18.7.6. Alternate row colors

If this option is selected, the rows in the data table will be displayed with alternating background color. You can choose the alternate color (the other color is defined by the used Look & Feel) with the font chooser next to the checkbox.

18.7.7. Color for NULL values

If a color is defined, NULL values will be highlighted with the selected colors in the result set.

18.8. Options for formatting data

18.8.1. Date, timestamp and time formats

Define the format for displaying date, date/time (timestamp) and time columns in the result set. For details on the format of this option, please refer to the documentation of the SimpleDateFormat class. This format is also used when parsing input for date or timestamp fields, so if you enter a date while editing the data, make sure you enter it the same way as defined with this option.

Here is an overview of the letters and their meaning that can be used to format the date and timestamp values. Be aware that case matters!

LetterDescription
GEra designator (Text, e.g. AD)
yYear (Number)
MMonth in year (Number)
wWeek in year (Number)
WWeek in month (Number)
DDay in year (Number)
dDay in month (Number)
FDay of week in month (Number)
EDay in week (Text)
aAM/PM marker
HHour in day (0-23)
kHour in day (1-24)
KHour in am/pm (0-11)
hHour in am/pm (1-12)
mMinute in hour
sSecond in minute
SMilliseconds
zGeneral time zone (e.g. Pacific Standard Time; PST; GMT-08:00)
ZRFC 822 time zone (e.g. -0800)

18.8.2. Oracle DATE as TIMESTAMP

The Oracle DATE datatype includes the time as well. But the JDBC driver does not retrieve the time part of a DATE column, so when retrieving DATE values, this would remove the time stored in the database. If this option is enabled, SQL Workbench/J will treat Oracle's DATE columns as TIMESTAMP columns, thus preserving the time information.

18.8.3. Decimal symbol

The character which is used as the decimal separator when displaying numbers.

18.8.4. Decimal digits

Define the maximum number of digits which will be displayed for numeric columns. This only affects the display of the number internally they are still stored as the DBMS returned them. To see the internal value, leave the mouse cursor over the cell. The tooltip which is displayed will contain the number as it was returned by the JDBC driver. When exporting data or copying it to the clipboard, the real value will be used.

18.9. Options for data editing

18.9.1. Confirm result set updates

When this option is enabled, the statements which are sent to the database when saving changes to result set table, are displayed before execution. The update can be cancelled at that point if the statements are not correct. The generated statements can also be saved to a file from that window.

[Note]

The statement(s) that are displayed in the confirmation window can not be changed!

18.9.2. Confirm discarding changed results

When running a statement that would replace a result that has changes that are not saved to the database, you will be prompted whether you want to cancel the current operation that would discard those changes.

This applies to statements run in the editor, as well as to changes done in the Data tab of the DbExplorer.

You will not be prompted when running statements in the editor, when the option Append results is enabled.

18.9.3. Highlight required fields

When editing data either in the result set or in the data tab of the DbExplorer, fields that are set to NOT NULL in the underlying table, will be displayed with a different background color if this option is selected.

18.9.4. Color for required fields

If required fields are highlighted during editing, this option defines the background color that is used.

18.9.5. Default PK Map

This property defines a mapping file for primary key columns. The information from that file is read whenever the primary keys for a table of cannot be obtained from the database. For a detailed description on how to define extra primary key columns, please refer to the WbDefinePk command.

18.9.6. Single record dialog

When displaying data in the Single record dialog you can customize the width for the input fields, and the default height for multiline columns.

18.10. DbExplorer options

18.10.1. DB Explorer as Tab

The Database Explorer can either be displayed as a separate window or inside the main window as a another tab. If this option is selected, the Db Explorer will be displayed inside the main window. If the option Retrieve DB Explorer is checked as well, the current database scheme will be retrieved upon starting SQL Workbench/J

18.10.2. Automatically retrieve objects

If this option is enabled, the contents of the database schema is retrieved when the DB Explorer is displayed. If this option is not checked, either the Refresh button or selecting a schema or table type will load the list.

18.10.3. Show trigger panel

By default triggers are shown only in the details of a table. If the option "Show trigger panel" is selected, an additional panel will be displayed in the DbExplorer that displays all triggers in the database independently of their table.

18.10.4. Focus to data panel

When this option is selected, the focus inside the DbExplorer will be set to the data panel, after an object in the list has been selected (and the data panel is visible).

18.10.5. Show focus

When this option is selected, a rectangle indicating the currently focused panel will be displayed, to indicate the component that will received keystrokes e.g. shortcuts such as Ctrl-R.

18.10.6. Generate PK constraint name

When displaying the SQL source for a table, a name will be generated for primary key constraint if the current constraint has no name or a system generated name.

System generated names are identified using a regular expression that can be configured.

If this option is selected, the generated SQL will not reflect the real statement that was used to create the table!

18.10.7. Remember object type

The list of objects can be filtered with the dropdown. If the option "Remember object type" is selected, the current object type will be stored in the workspace of the current connection, and will be restored the next time.

18.10.8. Remember sort column

When this option is selected, the sort column in the data display of the DbExplorer will be restored after reloading the table data.

18.10.9. Remember column order

When you reorder the column in the data display of a table, enabling this option will automatically store the new column order and apply it the next time the table data is displayed.

18.10.10. Default object type

If "Remember object type" is not enabled, you can define a default object type that is selected in the dropdown when the DbExplorer is displayed initially.

18.10.11. Object details tabs

With this dropdown you can select the position of the details tabs (Columns, Source, Data etc).

18.11. Window Title

The title bar of the main window displays displays information about the current connection, workspace and editor file. Some of these elements can be enabled or disabled with the options on this page.

18.11.1. Application name at end

If this option is enabled, the Application name will be put at the end of the window title.

18.11.2. Show Workspace name

If this option is enabled, the currently loaded workspace name will be displayed in the main window's title.

18.11.3. Show Profile Group

If this option is enabled, the group of the current connection profile will be displayed in the main window's title. The name of the current connection profile will always be shown.

18.11.4. Enclose Group With

If you select to display the current profile's group, you can select a pair of characters to put around the group name.

18.11.5. Separator

If you select to display the current profile's name and group, you can select the character that separates the two names.

18.11.6. Editor Filename

If the current editor tab contains an external file, you can choose if and which information about the file should be displayed in the window title. You can display nothing, only the filename or the full path information about the current file. The information will be displayed behind the current profile and workspace name.

18.12. SQL Formatting

These options influence the behaviour of the SQL Formatter when reformatting a SQL statement in the editor.

18.12.1. Max. length for sub-select

When the SQL formatter hits a sub-SELECT while parsing it will not reformat any statement which is shorter then the length specified with this option, i.e. any sub-SELECT shorter then this value will be formatted as one single statement without line breaks or indention. See SQL Formatter for details on how the SQL formatting works.

18.12.2. Columns in SELECT

This property defines the number of columns the formatter puts in on line when formatting a SELECT statement. The default of 1 (one) will put each column into a separate line:

SELECT p.name,
       p.firstname,
       a.city,
			 a.zip
FROM person p JOIN address a ON (p.person_id = a.person_id);

If this is set to 2, this would result in the following formatted SELECT:

SELECT p.name, p.firstname,
       a.city, a.zip
FROM person p JOIN address a ON (p.person_id = a.person_id);

The above example would list all columns in a single line, if this option is set to 4 (or a higher value):

SELECT p.name, p.firstname, a.city, a.zip
FROM person p JOIN address a ON (p.person_id = a.person_id);

18.12.3. Columns in INSERT

This property defines the number of columns the formatter puts in on line when formatting an INSERT statement. A value of one will list each column in a separate line in the INSERT part and the VALUES part

INSERT INTO PERSON
(
  id,
  firstname,
  lastname
)
VALUES
(
  42,
  'Arthur',
  'Dent'
);

When setting this value to 2, the above example would be formatted as follows:

INSERT INTO PERSON
  (id, firstname,
   lastname)
VALUES
  (42, 'Arthur',
   'Dent');

18.12.4. Columns in UPDATE

This property defines the number of columns the formatter puts in on line when formatting an UPDATE statement. A value of 1 (one) will put each column into a separate line:

UPDATE person
   SET firstname = 'Arthur',
       lastname = 'Dent'
WHERE id = 42;

With a value of 2, the above example would be formatted as follows:

UPDATE person
   SET firstname = 'Arthur', lastname = 'Dent'
WHERE id = 42;

18.12.5. Quoted elements per line

This optioin is used when changing the selected text into elements suitable for an IN list using SQLCreate SQL List. The number of values that are kept on a single line is controlled with this option.

18.12.6. Other elements per line

This option defines how many values will be put into a single line when creating non-quoted elements (Create non-char SQL List).

18.12.7. Lowercase functions

If this option is selected, standard ANSI functions will converted to lowercase when formatting a SQL statement.

18.12.8. Uppercase keywords

If this option is selected, standard ANSI keywords (SELECT, UPDATE) will converted to uppercase when formatting a SQL statement, otherwise they will be converted to lowercase.

18.13. SQL Generation

18.13.1. Generated UPDATE statements

If formatting of UPDATE statements is enabled, the threshold defines how many columns have to be present for a single UPDATE statement in order to put each column into a separate line. If the number of columns is lower then this value they will remain on one line. The keywords (UPDATE, WHERE) will still be formatted into new lines.

18.13.2. Generated INSERT statements

If formatting of INSERT is enabled, the way they are formatted can be controlled with several values.

18.13.2.1. Column threshold

If the number of columns in the statement exceeds this value, the columns will be spread over several lines. The number of columns that are put into each line is controlled using the option "Columns per line".

18.13.2.2. Columns per line

If the number of columns in the option "Column threshold" is exceeded, this option controls how many columns are put into each line

18.13.3. Include owner in export

This setting controls whether SQL Workbench/J uses the onwer (schema) when creating SQL scripts during exporting data (through WbExport or "Save as"). When this option is selected, the usage of the schema depends on the ignore schema setting that controls ignoring certain schemas for specific DBMS. When this is option is not selected, the schema/owner will never be used for SQL scripts.

18.13.4. Date literals for clipboard

Defines the date literal format to be used when copying data as SQL statements to the clipboard. For a detailed description of the different formats please refer to the WbExport description. This option does not influence the default format used by the WbExport command.

[Note]

When you copy data as "Text" (tab-separated) to the clipboard, the date and timestamp format from the general options is used.

18.13.5. Date literals for WbExport

Defines the date literal format to be used for the WbExport command. The value of this option is used if the -sqlDateLiterals switch is not supplied when running WbExport. This default value is reported when WbExport is executed without parameters.

18.13.6. Date literals for WbDataDiff

Defines the date literal format to be used for the WbDataDiff command. The value of this option is used if the -sqlDateLiterals switch is not supplied when running WbDataDiff. This default value is reported when WbDataDiff is executed without parameters.

18.14. External tools

On this page, you can define external tools (programs). Currently the only place where this is used, is in the BLOB info dialog, to open the BLOB data with one of the defined external tools.

This could be a program to display images, OpenOffice to display office documents or a text editor to display text files.

You do not need to define the PDF Reader here, as the definition from the general options will automatically be used in the BLOB info dialog.

18.15. Look and Feel

If you want to use additional Look and Feels that are not part of the JDK, you can specify them here.

A Look And Feel definition consists of a name, the class name to be used and the location of the JAR file that provides the look and feel implementation. The class name that has to be used should be available in the documentation of the look and feel of your choice. The name is SQL Workbench/J internal and is only used when displaying the list of available Look and Feels.

[Note]

The current look and feel is only changed when you click on the Make current button. Simply selecting a different entry in the list on the left side will not change the look and feel.

When you switch the current Look & Feel, you will need to restart the application to activate the new look and feel. Note that if you switch the current Look & Feel it will be changed, regardless whether you close the options dialog using Cancel or OK.