Differences between the HTML/Javascript and Java Versions
This manual describes two separate products, TE Edit Control for HTML/Javascript and TE Edit Control for Java. Although most of API's are common among these two products (hence the common manual), here are some of the salient differences.
| TE Edit Control for HTML/Javascript | TE Edit Control for Java | |
| Control File Name | terh32.js | tej32.jar and tej32.jar.pack.gz |
| Additional files needed to run the editor | ter_tlb.gif, wait.gif, ter_hlp.pdf | None |
| Technical help file name | help.chm, help.pdf | help.chm, help.pdf |
| Demo file name | terh32.htm | demo.java and dmo_*.java |
| ASP.NET wrapped control name | WebTeh.dll | WebTer.dll |
| Server OS | Any | Any |
| Coding language | Javascript | Java |
| Hosting Environment | Browser | Java desktop or browser |
| Browser element to host the editor | canvas | applet |
| Browser support | almost all major browsers | IE11 or older only |
| Additional steps needed to host within a browser | None. | The jar must be signed. |
| Ease of use within the browser. | Very simple since the javascript is fully support within a HTML 5 compliant browser. | Need to tackle security issues that can vary from java version to version. |
| Constant prefix | tc. Example, tc.ID_PASTE, tc.TP_CUR_LINE | Object reference, example: tej.ID_PASTE, tej.TP_CUR_LINE |
| Drag/drop within the editor | Full support | Full support |
| Drag/drop from external application | Browser does not allow for the security reason | Full support |
| Clipboard support within the editor. | Full support | Full support |
| Clipboard access from external applications. | Browser allows only the plain text format. | Full support |
| File system | The browser allows the editor to import the documents and picture files from the local disk using a browser file dialog. Similarly, the text can be written to the file system as a downloaded file. The browser does not allow non-user mediated access to the local file system for security reasons. | Conventional file system access. |
| Windows Metafile and Windows Bitmap format support | Limited on Windows OS and not available on other OS. | Unlimited on Windows OS, but not available on other OS. |
| Linked picture within the RTF file. | Linked picture with file-system references are not supported since the browser limits access to the file system. | Full linked picture support. |