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 misc.Rule.java

public class Rule extends JComponent implements Accessible {
    public static final int INCH = Toolkit.getDefaultToolkit().getScreenResolution();
    public static final int HORIZONTAL = 0;
    public static final int VERTICAL = 1;
    public static final int SIZE = 35;

From source file ScalingMethods.java

/**
 *
 * @author Chet
 */
public class ScalingMethods extends JComponent {

From source file MouseTest.java

/**
 * A component with mouse operations for adding and removing squares.
 */
class MouseComponent extends JComponent {
    public MouseComponent() {
        squares = new ArrayList<Rectangle2D>();

From source file painting.IconDisplayer.java

public class IconDisplayer extends JComponent {
    private Icon icon;
    private int preferredNumImages = 2;
    private int pad = 5; //space between images
    private Rectangle iconRect = new Rectangle();
    private Rectangle clipRect = new Rectangle();

From source file CopyAreaPerformance.java

/**
 * 
 * @author Chet
 */
public class CopyAreaPerformance extends JComponent implements KeyListener {

From source file FontDemo.java

/**
 * Finds and displays available fonts
 * <p>
 * TODO: should be a JTable with the text name in one column and the demo in a
 * JLabel in the other.
 * 

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

/**
 * Base for rock location displays. Does all the coordinate transformation math
 * and provides callbacks for actual drawing.
 * 
 * @author <a href="mailto:jcurl@gmx.net">M. Rohrmoser </a>
 * @version $Id: RockLocationDisplayBase.java 230 2006-02-19 12:34:18Z

From source file com.jaxzin.iraf.forecast.swing.JForecaster.java

/**
 * Date: Feb 15, 2006
 * Time: 9:18:15 PM
 *
 * @author <a href="mailto:brian@jaxzin.com">Brian R. Jackson</a>
 */

From source file SoundPlayer.java

/**
 * This class is a Swing component that can load and play a sound clip,
 * displaying progress and controls. The main() method is a test program. This
 * component can play sampled audio or MIDI files, but handles them differently.
 * For sampled audio, time is reported in microseconds, tracked in milliseconds
 * and displayed in seconds and tenths of seconds. For midi files time is

From source file org.jimcat.gui.wheellist.WheelList.java

/**
 * A Swing component feigning a long list of visible items.
 * 
 * T ... Typ of represented items
 * 
 * $Id$