Question about write number in JLabel in Java?
<p>How can I print number in any component like JLabel with certain number of sapces</p>

<p>such as 
if I write : </p>

<pre><code>double num = 123567; 
label.setext(" number " + num + "is big") ; == &gt; number 123567isbig

double num = 12; 
label.setext(" number " + num + "is big") ; == &gt; number 12     isbig
</code></pre>

<p>the number "num" is writen on 6 spaces in the both statment .. </p>

<p>How can I do that in Java ?? </p>
