| Author |
Wrap Text in a JButton
|
Patrick Muls
Greenhorn
Joined: Aug 08, 2001
Posts: 25
|
|
I have a set of buttons going done the east-side of my GUI. One of them has to contain a text that is much longer then that in the others, so I'm considering wrapping it to prevent that one button from expanding to much. I tried adding the \n-escape sequence, but that doesn't help. Which solution should I use? ------------------
|
 |
Paul Stevens
Ranch Hand
Joined: May 17, 2001
Posts: 2823
|
|
|
HTML can be used in Swing components.
|
 |
 |
|
|
subject: Wrap Text in a JButton
|
|
|