List of usage examples for javax.swing JLabel subclass-usage
From source file Main.java
class MyTableCellRenderer extends JLabel implements TableCellRenderer { public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int rowIndex, int vColIndex) { setText(value.toString()); setToolTipText((String) value);
From source file Main.java
class Colors extends JLabel implements Serializable { private Color color; // not persistent private boolean rectangular; // is persistent public Colors() {
From source file Main.java
class MyTableHeaderRenderer extends JLabel implements TableCellRenderer { public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int rowIndex, int vColIndex) { setText(value.toString()); setToolTipText((String) value); return this;
From source file Main.java
class JHyperlinkLabel extends JLabel { private Color underlineColor = null; public JHyperlinkLabel(String label) { super(label);
From source file Main.java
class ImageLabel extends JLabel { public ImageLabel(String img) { this(new ImageIcon(img)); }
From source file Main.java
class MyLabel extends JLabel { public MyLabel(String msg) { super(msg);
From source file ImageTest.java
class ImageLabel extends JLabel { public ImageLabel(String img) { this(new ImageIcon(img)); }
From source file Main.java
class ScrollableLabel extends JLabel implements Scrollable { public ScrollableLabel(ImageIcon i) { super(i); } public Dimension getPreferredScrollableViewportSize() {
From source file com.catexpress.gui.tools.AutoCompletarCellRenderer.java
/** * * @author Gustavo */ public class AutoCompletarCellRenderer extends JLabel implements ListCellRenderer<Cliente> {
From source file de.weltraumschaf.minesweeper.gui.LabeledValue.java
/**
* UI element with a fixed label and a changeable value.
*
* It is a combination of two {@link JLabel labels} in a grid layout.
*
* @author Sven Strittmatter <weltraumschaf@googlemail.com>