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

class GrabAndScrollLabel extends JLabel {
    public GrabAndScrollLabel(ImageIcon i) {
        super(i);

        MouseInputAdapter mia = new MouseInputAdapter() {
            int xDiff, yDiff;

From source file de.weltraumschaf.minesweeper.gui.ScoreLabel.java

/**
 * UI element to display number of games (sum, lost, and won).
 *
 * May observes {@link Score} object.
 *
 * @author Sven Strittmatter <weltraumschaf@googlemail.com>

From source file fi.elfcloud.client.HTMLEscapedJLabel.java

public class HTMLEscapedJLabel extends JLabel {
    private static final long serialVersionUID = 1668953289035886625L;

    public HTMLEscapedJLabel(String text) {
        super(text);
    }

From source file com.samebug.clients.idea.ui.component.ExceptionMessageLabel.java

public class ExceptionMessageLabel extends JLabel {
    public ExceptionMessageLabel(@Nullable String message) {
        {
            final String escapedText;
            if (message == null) {
                escapedText = String.format("<html><i>%s</i></html>",

From source file Main.java

class GradientLabel extends JLabel {
    // ------------------------------ FIELDS ------------------------------

    private Color start;
    private Color end;

From source file Main.java

class TextPrompt extends JLabel implements FocusListener, DocumentListener {
    JTextComponent component;
    Document document;

    public TextPrompt(String text, JTextComponent component) {
        this.component = component;

From source file storybook.ui.panel.chrono.DateDiffLabel.java

@SuppressWarnings("serial")
public class DateDiffLabel extends JLabel {

    private Date date1;
    private Date date2;

From source file URLLabel.java

public class URLLabel extends JLabel {

    boolean entered = false;

    boolean mousehover;

From source file Main.java

class IconEditor extends JLabel implements ChangeListener {

    JSpinner spinner;

    Icon icon;

From source file MainClass.java

class IconEditor extends JLabel implements ChangeListener {

    JSpinner spinner;

    Icon icon;