Example usage for java.awt.image MemoryImageSource subclass-usage

List of usage examples for java.awt.image MemoryImageSource subclass-usage

Introduction

In this page you can find the example usage for java.awt.image MemoryImageSource subclass-usage.

Usage

From source file MainClass.java

class MyImageSource extends MemoryImageSource {
    MyImageSource(int w, int h, int[] pix) {
        super(w, h, pix, 0, w);
    }

    public void addConsumer(ImageConsumer ic) {