SetTerBuffer
Set document text:
boolean SetTerBuffer(buffer, title)
| String buffer: | The String containing the new text and format data. |
String title; | new title for the window. Specify a null if you do not wish to change the window title |
Description: You can use this function to set new data in an existing TEJ window. The exising text in the window is discarded. The data in the buffer can be provided in one of these formats:
Text Format
Rich Text Format
Return Value: This function returns a true value if successful. Otherwise it returns a false value.