This help is meant to guide you through the capabilities of the look & feel and help you use these features to tweak the appearance of your Java (TM) application.


Download & Install
Features
The Concept
The Colors
The Fonts
The Borders
The Textures
Adjusting the theme
Adjust behaviour
Adjust accessibility options
Creating and customizing the theme
Customize colors
Customize fonts
Customize border matrices
Customize texture matrices
Customize textures
Support, Contact


Download & Install

Dowload the jar file containing the latest binaries, and place it into your CLASSPATH variable.

Use the following sequence to install the look & feell:
try{
UIManager.setLookAndFeel("com.shfarr.ui.plaf.fh.FhLookAndFeel");
}
catch (Exception e) {
e.printStackTrace();
}


Features

Fh  Look & Feel may has a large set of tweakable features:
    1. text antialiasing
    2. use a custom base color  to change the cromatics of the look and feel (independently form the theme)
    3. saturation of the base color
    4. confirm painting of textures
    5. auto manage icons on buttons
    6. make all fonts bold (as accessibility issue)
    7. increase or decrease procentually the size of a fonts in the system (as accessibility issue)
    8. change the brightness or contrast of the theapplication (as accessibility issue)


The concept

The main ideea of Fh look and feel is that the appearance of the an application is given by the colors, fonts, borders, and the textures of the displayed components. So in order to change the appearance of the application one must change these components.




Adjusting the theme

To adjust the laf start the Theme Manager application by running:
java -jar fhlaf.jar
or by clicking the fh icon on the right of the running Java (TM) application:
The following theme manager will appear:


  1. specifies the directory where the extra themes (other then the built in themes) are stored .
  2. select the theme  to be used
  3. description of the theme
  4. create a new theme starting from one of the built in ones
  5. start a new theme starting from the currently selected theme (use this if you wish to change some features in the current theme, such as fonts)



  1. select this if you wish to use a base color different from the one specified by the theme
  2. choos the desired custom color ( the color must to be arround the middle of the color scale [0..255] )
  3. choose the chromatic saturation of the look and feel.
  4. manage the button icons (automatically generate disabled, rolover, etc icons starting from the main icon)
  5. enable/disable text antialiasing.
  6. enable/disable the painting of textures on the large components (JPanel) if exists.
  7. enable/disable the painting of texture on normal components



  1. make all fonts bold.
  2. adjust procetualy the size of  all fonts in the system.
  3. adjust the brightness of the look & feel.
  4. adjust the contrast of the look & feel.



Creating and customizing the theme

In case you whish to modify the base components of the theme such as fonts, borders, color palette or textures you must first create a new theme based on the current one and then use the Theme editor to modify it.




This panel allows you to edit the component mappings aswell as the theme information and other custom elements such as affirmative, negatives which mark the texts that will be painted on buttons using specific color s other than the foreground.
  1. select the item to edit
  2. edit the item
  3. save the palette (meta information)
  4. revert the palette (in case it haven't been saved right before :)



  1. select the color  to edit here (the variations of base color are not selctable, change them by changing the base color)
  2. displays the selected color
  3. the name of the selected color
  4. choose another color for the key in (3)
  5. adjust the alpha component
  6. save the entier color palette
  7. revert the palette
  8. add /set the new value for the key
  9. revert the value of the selected key to the one in the palette
  10. remove the key (please make sure nothing referes the key)



  1. select the font to be edited
  2. choose another font (using fonts on your computer)
  3. sample text
  4. save the font palette
  5. revert the font palette



  1. choose the matrix cathegory to be edited (Borders)
  2. choose the matrix cathegory to be edited (Textures)
  3. choose a color from the color palette
  4. displays the color's key (name)
  5. choose the matrix to be edited
  6. modify the matrix's height
  7. modify the matrix's width
  8. sample border (it shows the border as it is edited)
  9. move the weightpoint horizontally
  10. move the weightpoint vertically
  11. save / revert palette, add / delete item



  1. choose the matrix cathegory to be edited (Borders)
  2. choose the matrix cathegory to be edited (Textures)
  3. choose a color from the color palette
  4. displays the color's key (name)
  5. choose the matrix to be edited
  6. modify the matrix's height
  7. modify the matrix's width
  8. texture sample (it shows the border as it is edited)
  9. -
  10. -
  11. save / revert palette, add / delete item



  1. choose the texture to be edited
  2. choose the type of the texture
  3. sample texture (on transparent background, and opaque background)
  4. adjust the texture's rotation and add new elements to the texture table
  5. -
  6. -
  7. -
  8. -
  9. -
  10. list of elemets in the texture
  11. save / revert palette, add / delete item


Support, Contact

Thank  you for using FH Look & Feel
If you whish to suport this look and feek by sponsoring it, or you whish to submitt bugs or suggestions please contact me at shfarr@yahoo.com


Best Regards,
Stefan Harsan Farr