The Java Editor example demonstrates the standard features available for custom text editors. It also shows how to register an editor for a file extension (in this case .jav) and how to define a custom Document provider for use by that editor. This example is only for demonstration purposes.