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 net.sf.maltcms.chromaui.charts.renderer.XYPlotRendererListCellRenderer.java

/**
 *
 * @author Nils Hoffmann
 */
public class XYPlotRendererListCellRenderer extends JLabel implements ListCellRenderer {

From source file DigitalClock.java

/**
 * A custom Swing component that displays a simple digital clock. Demonstrates
 * how to add copy and drag support to a Swing component with TransferHandler.
 */
public class DigitalClock extends JLabel {
    DateFormat format; // How to display the time in string form

From source file com.genericworkflownodes.knime.generic_node.dialogs.param_dialog.list_editor.ListEditorComponent.java

/**
 * This component allows to edit lists of values in a separate window.
 * 
 * @author bkahlert, aiche
 */
public class ListEditorComponent extends JLabel {

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

/**
 * Represents a mine filed box button.
 *
 * A button has three states: Closed, open, flagged.
 *
 * @author Sven Strittmatter <weltraumschaf@googlemail.com>

From source file Main.java

class IconEditor extends JLabel implements ChangeListener {

    JSpinner spinner;

    Icon icon;

From source file IconSpinner.java

class IconEditor extends JLabel implements ChangeListener {

    JSpinner spinner;

    Icon icon;

From source file forge.view.arcane.util.OutlinedLabel.java

/**
 * <p>
 * GlowText class.
 * </p>
 * 
 * @author Forge

From source file Main.java

/**
 * Time panel. This will show the current time. A timer to update the time is
 * started when the component is added to its parent and stopped when removed
 * from its parent.
 *
 * @author <A HREF="mailto:colbell@users.sourceforge.net">Colin Bell</A>

From source file SecretTest.java

class SecretLabel extends JLabel {

    public SecretLabel(String msg) {
        super(msg);
        addMouseListener(new MouseAdapter() {
            public void mouseClicked(MouseEvent me) {

From source file Main.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() {