Example usage for java.awt Component subclass-usage

List of usage examples for java.awt Component subclass-usage

Introduction

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

Usage

From source file ImageDuplicity.java

public class ImageDuplicity extends Component {
    private BufferedImage image;

    public void paint(Graphics g) {
        Graphics2D g2 = (Graphics2D) g;
        if (image == null)

From source file ItemEventComponent.java

class ItemEventComponent extends Component implements ItemSelectable {
    boolean selected;

    int i = 0;

    ItemListener itemListener = null;

From source file ShowOff.java

public class ShowOff extends Component {
    public static void main(String[] args) {
        try {
            String filename = "largeJava2sLogo.jpg";
            String message = "Java Source and Support";
            int split = 4;

From source file vteaexploration.plotgatetools.gates.PolygonGate.java

/**
*
* @author vinfrais
*/
public class PolygonGate extends Component implements Gate {

From source file Main.java

class TimerComponent extends Component implements Runnable {
    private int interval;

    private TimerListener listener;

    private static EventQueue evtq;

From source file CustomEventPanel.java

class TimerComponent extends Component implements Runnable {
    private int interval;

    private TimerListener listener;

    private static EventQueue evtq;

From source file org.jcurl.core.swing.WCComponent.java

abstract class WCComponent extends Component implements WCLayer {

    private static final Log log = JCLoggerFactory.getLogger(WCComponent.class);

    protected int oldHei = -1;

From source file JumbledImage.java

class JumbledImage extends Component {

    private int numlocs = 2;
    private int numcells = numlocs * numlocs;
    private int[] cells;
    private BufferedImage bi;

From source file cn.lambdalib.cgui.gui.component.TextBox.java

/**
 * Textbox displays text on the widget area, it might also be edited. TextBox is designed to handle single-line texts.
 * @author WeAthFolD
 */
public class TextBox extends Component {

From source file ImageLabel.java

public class ImageLabel extends Component {

    public static void main(String args[]) {

        JFrame frame = new JFrame("Image Label");
        BufferedImage img = null;