protected void loadValue(String sValue){
  sValue=sValue.trim();
  try {
    int r=Integer.parseInt(sValue.substring(1,3),16);
    int g=Integer.parseInt(sValue.substring(3,5),16);
    int b=Integer.parseInt(sValue.substring(5,7),16);
    value=new Color(r,g,b);
  }
 catch (  NumberFormatException nfe) {
    revertToDefault();
  }
catch (  StringIndexOutOfBoundsException sioobe) {
    revertToDefault();
  }
}

protected void loadValue ( String sValue ) { sValue = sValue . trim ( ) ; try { int r = Integer . parseInt ( sValue . substring ( 1 , 3 ) , 16 ) ; int g = Integer . parseInt ( sValue . substring ( 3 , 5 ) , 16 ) ; int b = Integer . parseInt ( sValue . substring ( 5 , 7 ) , 16 ) ; value = new Color ( r , g , b ) ; } catch ( NumberFormatException nfe ) { revertToDefault ( ) ; } catch ( StringIndexOutOfBoundsException sioobe ) { revertToDefault ( ) ; } }
returns the value of this setting .
