public void repaintData()
  {
    if ( currentEntry != null )
    {
      TProjectData current = TGlobal.projects.getCurrentData() ;
      int len = langFields.length ;
      for ( int t = 0 ; t < len ; t++ )
      {
        String str = current.getTranslation( currentEntry, t ) ;
        TLangTextField field = langFields[t] ;

        if ( str == null )
        {
          str = "" ;
          field.setStatus( TLangTextField.REQUIRE_STATE ) ;
        }
        else if ( str.length() < 1 )
        {
          field.setStatus( TLangTextField.REQUIRE_STATE ) ;
        }
        else // something available
        {
          field.setStatus( TLangTextField.NOTHING_STATE ) ;
        }

        // with/without unicode
        if ( showSource )
        {
          field.setText( str ) ;
        }
        else
        {
          field.setText( Utils.get_WYSIWYG_String( str ) ) ;
        }
      }
    }
    else // no entry data available - clear all fields
    {
      int len = langFields.length ;
      for ( int t = 0 ; t < len ; t++ )
      {
        TLangTextField field = langFields[t] ;
        field.setText( "" ) ;
        field.setStatus( TLangTextField.REQUIRE_STATE ) ;
      }
    }
    GUIGlobals.oPanel.updateEntryComment( "" ) ;
  }