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 TabRenendererList.java

class TabListCellRenderer extends JLabel implements ListCellRenderer {
    protected static Border m_noFocusBorder = new EmptyBorder(1, 1, 1, 1);

    protected FontMetrics m_fm = null;

    public TabListCellRenderer() {

From source file com.qumasoft.guitools.compare.ContentRow.java

class ContentRow extends JLabel {
    private static final long serialVersionUID = -4490555483346212013L;

    // Create our logger object
    private static final Logger LOGGER = Logger.getLogger("com.qumasoft.guitools.compare");
    public static final byte ROWTYPE_NORMAL = 10;

From source file Main.java

class VariableRowHeightRenderer extends JLabel implements TableCellRenderer {
    public VariableRowHeightRenderer() {
        super();
        setOpaque(true);
        setHorizontalAlignment(JLabel.CENTER);
    }

From source file events.BlankArea.java

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

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

From source file misc.ScrollablePicture.java

public class ScrollablePicture extends JLabel implements Scrollable {

    private int maxUnitIncrement = 1;
    private boolean missingPicture = false;

    public ScrollablePicture(ImageIcon i, int m) {

From source file components.ScrollablePicture.java

public class ScrollablePicture extends JLabel implements Scrollable, MouseMotionListener {

    private int maxUnitIncrement = 1;
    private boolean missingPicture = false;

    public ScrollablePicture(ImageIcon i, int m) {

From source file org.spoutcraft.launcher.skin.components.BackgroundImage.java

public class BackgroundImage extends JLabel {
    private static final long serialVersionUID = 1L;

    public BackgroundImage(int width, int height) {
        setVerticalAlignment(SwingConstants.CENTER);
        setHorizontalAlignment(SwingConstants.CENTER);

From source file components.ColorRenderer.java

public class ColorRenderer extends JLabel implements TableCellRenderer {
    Border unselectedBorder = null;
    Border selectedBorder = null;
    boolean isBordered = true;

    public ColorRenderer(boolean isBordered) {

From source file PaintMethods.java

/** Standalone GUI program that shows paint, repaint, and update */
public class PaintMethods extends JLabel {

    /** "main program" method - construct and show */
    public static void main(String[] av) {
        final JFrame f = new JFrame("PaintMethods demo");

From source file BufferedImageThread.java

class AnimationCanvas extends JLabel implements Runnable {
    Thread thread;

    Image image;

    BufferedImage bi;