JWebEngine Sample Package

This package provides simple samples classes which show the primary usage of the i-net JWebEninge. All samples in this package will be delivered with sources!

The following samples are available:

Sample classDescription
paged - package This sample shows how to render an HTML page into several page images. This is especially useful for printing or splitting large pages to avoid memory issues.
CustomImageLoading This sample shows how to display custom images which cannot be resolved by a normal URL. To do so this ImageView class has to be extended and the InetHtmlFactory has to be modified to provide the overwritten instance instead of a normal ImageView.
FileEditor Shows how to use the BaseEditor to easily create a fully featured text editor.
FileViewer Shows how to register JWebEngine in Java to make it the default renderer for HTML content in JEditorPanes
HyperlinkHandlerSample Shows how to use a custom HyperlinkHandler to modify the reaction on HyperlinkEvents in the BaseEditor.
RenderExample Shows how to use JWebEngine and Java's default HTML renderer at the same time and illustrates the differences between the two renderers.