Example usage for javax.swing JLabel subclass-usage

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

Introduction

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

Usage

From source file AncestorTree.java

class IconCellRenderer extends JLabel implements TreeCellRenderer {
    protected Color m_textSelectionColor;
    protected Color m_textNonSelectionColor;
    protected Color m_bkSelectionColor;
    protected Color m_bkNonSelectionColor;
    protected Color m_borderSelectionColor;

From source file CombineApp.java

class CombinePanel extends JLabel {
    // red band Matrix
    static final float RED_BAND_MATRIX[][] = { { 1.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f } };

    // green band Matrix
    static final float GREEN_BAND_MATRIX[][] = { { 0.0f, 0.0f, 0.0f }, { 0.0f, 1.0f, 0.0f }, { 0.0f, 0.0f, 0.0f } };

From source file AffineTransformApp.java

class DisplayPanel extends JLabel {
    Image displayImage;

    BufferedImage biSrc, biDest;

    BufferedImage bi;

From source file SafeRepaint.java

/**
 * @author Romain Guy
 */
class SafeComponent extends JLabel {
    public SafeComponent() {
        super("Safe Repaint");

From source file ExtendedTableCellRenderer.java

class ExtendedJLabel extends JLabel implements Scrollable {

    private boolean underlined = false;
    private boolean autoTooltip = false;

    /**

From source file FileChooserTest.java

/**
 * A file chooser accessory that previews images.
 */
class ImagePreviewer extends JLabel {
    /**
     * Constructs an ImagePreviewer.

From source file SwingTypeTester10.java

class ScoreLabel extends JLabel implements CharacterListener {

    private volatile int score = 0;

    private int char2type = -1;

From source file SwingMouseMotionEventDemo.java

class BlankArea extends JLabel {
    Dimension minSize = new Dimension(100, 100);

    public BlankArea(Color color) {
        setBackground(color);
        setOpaque(true);

From source file MouseEventDemo.java

class BlankArea extends JLabel {
    Dimension minSize = new Dimension(100, 100);

    public BlankArea(Color color) {
        setBackground(color);
        setOpaque(true);

From source file FileTree2.java

class IconCellRenderer extends JLabel implements TreeCellRenderer {
    protected Color m_textSelectionColor;
    protected Color m_textNonSelectionColor;
    protected Color m_bkSelectionColor;
    protected Color m_bkNonSelectionColor;
    protected Color m_borderSelectionColor;