Example usage for javax.swing.text StyledEditorKit.StyledTextAction subclass-usage

List of usage examples for javax.swing.text StyledEditorKit.StyledTextAction subclass-usage

Introduction

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

Usage

From source file MainClass.java

class BoldAction extends StyledEditorKit.StyledTextAction {
    private static final long serialVersionUID = 9174670038684056758L;

    public BoldAction() {
        super("font-bold");
    }

From source file MainClass.java

class BoldAction extends StyledEditorKit.StyledTextAction {
    private static final long serialVersionUID = 9174670038684056758L;

    public BoldAction() {
        super("font-bold");
    }