Extends
JLabel, providing some extra functionality.
KongaLabel implements the Label interface, so it can be used directly in situations requiring a Label, without the need of creating a LabelAdapter.
KongaLabel also supports custom painting, by implementing the CustomPaintable interface. A painting strategy can be supplied through the {@link #setPainter(ComponentPainter) setPainter} method.
A KongaLabel can be set to automatically word-wrap if its text is wider than the width of the label. This is done by enabling {@link #setMultiLineEnabled(boolean) multi-line mode}.
Right-clicking on a KongaLabel brings up a popup menu, allowing the user to copy the current text value of the label. This functionality is disabled if the label is currently empty.
@author Torgil Zethson
@since 1.3.0