Java Code Examples for javax.swing.text.PlainView

The following examples show how to use javax.swing.text.PlainView. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: netbeans   Source File: OutputEditorKit.java    License: Apache License 2.0 4 votes vote down vote up
public View create(Element element) {
    return (element instanceof OutputDocument.RootElement)
           ? new OutputView(element)
           : new PlainView(element);
}
 
Example 2
public View create(Element elem) { return new PlainView(elem); } 
Example 3
Source Project: visualvm   Source File: REditorComponent.java    License: GNU General Public License v2.0 votes vote down vote up
public View create(Element elem) { return new PlainView(elem); }