<p>If I have a button like the one in this image :</p>

<p><strong><a href="http://www.freeimagehosting.net/image.php?4cd775814c.png" rel="nofollow noreferrer">http://www.freeimagehosting.net/image.php?4cd775814c.png</a></strong></p>

<p>how could I make the text display itself vertically ? As in </p>

<pre>
j
B
u
t
t
o
n
1
</pre>

<p>I would like to know how to do the same thing for JLabel . I'm sure there has to be a better way than to create as many labels as there are characters in the string . Right ?</p>

<p><strong>EDIT:</strong> how can I insert an image into my post ? The button for the image shows the image in the preview section , but when I actually post the data , I only get some text back , like the tags are getting messed up .</p>

You can use HTML for JButton or JLabel. So
```
```
button = new JButton("<html>J<br>b<br>u<br>t<br>t<br>o<br>n<br>1</html>");
```
```
should do the trick.