| javax.swing.JTextArea com.jidesoft.swing.MultilineLabel
MultilineLabel | public class MultilineLabel extends JTextArea (Code) | | Normal JLabel cannot have multiple lines. If you want to multiple
label, you can use this class.
|
Method Summary | |
protected void | adjustUI() Adjusts UI to make sure it looks like a label instead of a text area. | public Dimension | getMinimumSize() Overrides getMinimumSize to return getPreferredSize() instead. | public void | updateUI() Reloads the pluggable UI. |
MultilineLabel | public MultilineLabel()(Code) | | |
adjustUI | protected void adjustUI()(Code) | | Adjusts UI to make sure it looks like a label instead of a text area.
|
getMinimumSize | public Dimension getMinimumSize()(Code) | | Overrides getMinimumSize to return getPreferredSize() instead.
We did this because of a bug at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4824261.
the preferred size as minimum size. |
updateUI | public void updateUI()(Code) | | Reloads the pluggable UI. The key used to fetch the
new interface is getUIClassID() . The type of
the UI is TextUI . invalidate
is called after setting the UI.
|
|
|