rem:  widget.addEventListener( "appear", function( evt ) { this.getLabelObject().setFont( value ); }, widget ); 
add: var oldLabel = widget.getLabel(); widget.setLabel( "(empty)" ); widget.getLabelObject().setFont( font ); widget.setLabel( oldLabel ); 
context: qx.Proto.setFont = function( widget, name, size, bold, italic ) {  // TODO [rh] revise this: is there a better way to change font  if( widget.setFont ) {  // test if font property is supported    var font = new qx.renderer.font.Font( size, name );    font.setBold( bold );    font.setItalic( italic );    widget.setFont( font );  } else if( widget.getLabelObject ) {    var font = new qx.renderer.font.Font( size, name );    font.setBold( bold );    font.setItalic( italic );    // Feature in qooxdo: when font is set with creation of widget, the     // getLabelObject() function may return null since the label is not yet     // created.    if( widget.getLabelObject() != null ) {      widget.getLabelObject().setFont( font );    } else {      // TODO [rh] revise this: how to remove/dispose of the listener?      widget.addEventListener( "appear", function( evt ) {        this.getLabelObject().setFont( value );      }, widget );    }  } else {    this.debug( widget.classname + " does not support fonts" );  }}
meta: 8114	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8114/6922ce0f19aa629ca63dd3ef2819c7d4fa0ba60f/WidgetManager.js/buggy/bundles/org.eclipse.rap.rwt/js/org/eclipse/rap/rwt/WidgetManager.js