Example usage for javax.swing JComponent subclass-usage

List of usage examples for javax.swing JComponent subclass-usage

Introduction

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

Usage

From source file JuliaSet1.java

/**
 * This class is a Swing component that computes and displays a fractal image
 * known as a "Julia set". The print() method demonstrates printing with the
 * Java 1.1 printing API, and is the main point of the example. The code that
 * computes the Julia set uses complex numbers, and you don't need to understand
 * it.

From source file Main.java

class PolygonButton extends JComponent implements MouseListener, MouseMotionListener {
    static public Color ACTIVE_COLOR = Color.red;

    static public Color INACTIVE_COLOR = Color.darkGray;

    protected String text;

From source file de.fhg.igd.iva.explorer.main.JStatBar.java

/**
 * TODO Type description
 * @author Martin Steiger
 */
public class JStatBar extends JComponent {
    private static final long serialVersionUID = 259663603963750291L;

From source file org.jcurl.demo.smack.ChatLogSimpleSwingBean.java

/**
 * Log a conversation. Register with {@link XMPPConnection#getChatManager()} to
 * keep track of the current chats.
 * 
 * @author <a href="mailto:m@jcurl.org">M. Rohrmoser </a>
 * @version $Id$

From source file MainClass.java

class KeyTextComponent extends JComponent {
    private EventListenerList actionListenerList = new EventListenerList();

    public KeyTextComponent() {
        setBackground(Color.CYAN);
        KeyListener internalKeyListener = new KeyAdapter() {

From source file Main.java

class KeyTextComponent extends JComponent {
    private EventListenerList actionListenerList = new EventListenerList();

    public KeyTextComponent() {
        setBackground(Color.CYAN);
        KeyListener internalKeyListener = new KeyAdapter() {

From source file Main.java

class KeyTextComponent extends JComponent {
    private EventListenerList actionListenerList = new EventListenerList();

    public KeyTextComponent() {
        setBackground(Color.CYAN);
        KeyListener internalKeyListener = new KeyAdapter() {

From source file Main.java

class KeyTextComponent extends JComponent {
    private EventListenerList actionListenerList = new EventListenerList();

    public KeyTextComponent() {
        setBackground(Color.CYAN);
        KeyListener internalKeyListener = new KeyAdapter() {

From source file Main.java

class KeyTextComponent extends JComponent {
    private EventListenerList actionListenerList = new EventListenerList();

    public KeyTextComponent() {
        setBackground(Color.CYAN);
        KeyListener internalKeyListener = new KeyAdapter() {

From source file Main.java

class KeyTextComponent extends JComponent {
    private EventListenerList actionListenerList = new EventListenerList();

    public KeyTextComponent() {
        setBackground(Color.CYAN);
        KeyListener internalKeyListener = new KeyAdapter() {