
Version: 1.05
Last Modified: 08. Sept 2010
Home page: http://www.inetsoftware.de/other-products/jwebengine
Copy the JWebEngine.jar to the CLASSPATH of your application. That's all.
JWebEngine can very easily be integrated into an existing application. If you want replace the default Java HTML editor with JWebEngine you just need to add the following lines to your application:
static{ // register JWebEngine for HTML content JEditorPane.registerEditorKitForContentType( "text/html", "com.inet.html.InetHtmlEditorKit" ); }
The code has to be executed before you load the first HTML page.
If you would like to use an HTML-based Rich Text editor you may use the class com.inet.editor.BaseEditor. See the FileEditor sample for more details.
To activate a license key for JWebEngine, simply put the license key file named license.txt into a package com.inet.html. This can be done either by adding the license key to the JWebEngine jar file or by adding the file to your application. However make sure to place the file into the correct package directory. If the activation was successful, the trial license water mark will disappear.
JWebEngine can be extended by the JOrtho spell checker. Simply add the JOrtho jar file and the required dictionaries to your class path. This will extend the base editor by a full featured spell checker. As a quick start you may as well download the JWebEngine / JOrtho bundle from our website. We recommend to check for the latest version of JOrtho and the dictionaries form time to time.
There are several samples bundled with JWebEngine. These samples are designed to show some entry points into using JWebEngine.
This sample shows how to use the JWebEngine as a text viewer.
This sample shows how to use the JWebEngine as a Rich Text editor. It uses the com.inet.editor.BaseEditor class, to easily create a fully featured text editor.
This sample demonstrates how to customize the handling of the com.inet.editor.BaseEditor on hyperlinks. This sample is based on the FileEditor.
Side-by-side render comparison of the Java HTML renderer and the JWebEngine.
Support is available via email at tools@inetsoftware.de.
JWebEngine is a 100% pure Java HTML 4 viewer and editor. It is fully compatible with any javax.swing.JEditorPane and javax.swing.JTextPane. It is based on the javax.swing.text.Document. You can use it together with third party components like the JOrtho spell checker.
You can use JWebEngine as:
This bundle is designed to give you the opportunity to evaluate JWebEngine without functional restrictions. To purchase a license and switch off the watermark plase contact sales@inetsoftware.de.
The built-in Java HTML editor of Java is very limited. It only supports HTML 3.2 with some features of HTML 4 and CSS. The support of CSS is wrong in many cases, especially when it comes to cascading selectors. The text is often too small and on many web sites Java only shows an error instead of a incorrectly formatted page.
Here are some further differences:
We developed JWebEngine for our ticket system i-net HelpDesk. The basic requirement was to create an editor and renderer for any type of HTML Mail as well as a browser for common web sites. Since our products are Java-based, the solution needed to be platform-independent. After JWebEngine proved itself useful in the ticket system we continued to integrate JWebEngine into further products. To give some examples: any help browser - including JavaHelp-based systems - in our products now uses JWebEngine. Our reporting solution now renders embedded HTML using JWebEngine. The possibility to completely embed and customize the renderer is a great advantage of JWebEngine.
JWebEngine is a core component of many of our products. So we ”eat our own dog food” and continually improve and enhance JWebEngine.
© 2006 - 2011 by i-net software