src/main/java/org/teachingextensions/logo/utils/MVCUtils/Viewer.java
public static void displayRtfFile(String text)
  {
    try
    {
      File file;
      file = File.createTempFile("currentStory", ".rtf");
      FileWriter f = new FileWriter(file);
      f.write(text);
      f.close();
      TestUtils.displayFile(file.getPath());
    }
    catch (IOException e)
    {
      throw ObjectUtils.throwAsError(e);
    }
  }
public static void displayRtfFile(String text)
  {
    try
    {
      File file;
      file = File.createTempFile("currentStory", ".rtf");
      FileWriter f = new FileWriter(file);
      f.write(text);
      f.close();
      TestUtils.displayFile(file.getPath());
    }
    catch (IOException e)
    {
      throw ObjectUtils.throwAsError(e);
    }
  }
public static void displayRtfFile ( String text ) { try { File file ; file = File . createTempFile ( "currentStory" , ".rtf" ) ; FileWriter f = new FileWriter ( file ) ; f . write ( text ) ; f . close ( ) ; TestUtils . displayFile ( file . getPath ( ) ) ; } catch ( IOException e ) { throw ObjectUtils . throwAsError ( e ) ; } }
Uses a RTF Viewer to display the results of a model (or text)
<div><b>Example:</b> {@code  viewer.displayRtfFile(text)} </div>

@param text
A model created from a String (text)
Uses a RTF Viewer to display the results of a model ( or text ) <div > <b > Example : < / b > { @code viewer . displayRtfFile ( text ) } < / div >