Example usage for javax.swing Painter interface-usage

List of usage examples for javax.swing Painter interface-usage

Introduction

In this page you can find the example usage for javax.swing Painter interface-usage.

Usage

From source file ejemplo.grafica.java

class MyPainter implements Painter<JProgressBar> {

    private final Color color;

    public MyPainter(Color c1) {
        this.color = c1;