public void updateUI(){
  super.updateUI();
  setBackground(new Color(255,255,255,0));
  setWrapStyleWord(true);
  setHighlighter(null);
  setEditable(false);
  LookAndFeel.installBorder(this,"Label.border");
  LookAndFeel.installColorsAndFont(this,"Label.background","Label.foreground","Label.font");
  if (resizeHandler != null) {
    resizeHandler.componentResized(null);
  }
  SizePolicy policy=(SizePolicy)getClientProperty(SizePolicy.class);
  if (policy != null) {
    GUIUtils.restrictSize(this,policy);
  }
}

public void updateUI ( ) { super . updateUI ( ) ; setBackground ( new Color ( 255 , 255 , 255 , 0 ) ) ; setWrapStyleWord ( true ) ; setHighlighter ( null ) ; setEditable ( false ) ; LookAndFeel . installBorder ( this , "Label.border" ) ; LookAndFeel . installColorsAndFont ( this , "Label.background" , "Label.foreground" , "Label.font" ) ; if ( resizeHandler != null ) { resizeHandler . componentResized ( null ) ; } SizePolicy policy = ( SizePolicy ) getClientProperty ( SizePolicy . class ) ; if ( policy != null ) { GUIUtils . restrictSize ( this , policy ) ; } }
tells the look and feel to reset some of the values for this component so that it doesn ' t use jtextarea ' s default values . do not call this method yourself !
