Skip to Main Content Skip to Search
Product Documentation

Setting Java Properties

How to Set Java System Properties

Set Java system properties in one of two ways:

Ensuring a Consistent GUI Appearance

After developing your initial GUI using the MATLAB Builder JA product, subsequent GUIs that you develop may inherit properties of the MATLAB GUI, rather than properties of your initial design. To preserve your original look and feel, set the mathworks.DisableSetLookAndFeel Java system property to true.

Code Fragment: Setting DisableSetLookAndFeel

The following are examples of how to set mathworks.DisableSetLookAndFeel using the techniques in How to Set Java System Properties:

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS