Example usage for javax.swing.text FieldView subclass-usage

List of usage examples for javax.swing.text FieldView subclass-usage

Introduction

In this page you can find the example usage for javax.swing.text FieldView subclass-usage.

Usage

From source file FormattedTextFieldExample.java

class FormattedFieldView extends FieldView {
    public FormattedFieldView(Element elem, FormattedTextField.FormatSpec formatSpec) {
        super(elem);

        this.contentBuff = new Segment();
        this.measureBuff = new Segment();