title: Align predefined text to left and display string aligned to the right. Java
body: <p>In Java, how do I use print or printf to have A line of text, that has the first output as "Character Name:" (which is aligned to the left by default) and then show a string value (char1) to be aligned to the right of the screen, or aligned to the right of a column? ie:</p>
  
  <pre><code>   Character Name:                      char1
  
     Character Value:                 charValue
  </code></pre>
  
  <p>ps.  I am using eclipse if that helps.</p>