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

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

Introduction

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

Usage

From source file br.com.RatosDePC.Brpp.IDEui.CodeDocument.java

public class CodeDocument extends DefaultStyledDocument {
    private static final long serialVersionUID = 1L;
    private Color verde = new Color(11, 125, 73);
    private Color azul = new Color(66, 119, 255);
    private Color vermelho = new Color(255, 56, 0);
    private Color laranja = new Color(252, 145, 20);