title: Formatting toString Java
body: <p>I'd like to know how to format <code>toString</code>:
  I tried using <code>printf</code> and s<code>tring.format</code> but it wants me to change <code>String</code> and <code>int</code> to <code>Object[]</code></p>
  
  <p>I want it to look like this: (Spaces)</p>
  
  <blockquote>
    <p>Book1______Author1________850</p>
    
    <p>Book23_____Author2424_____250</p>
  </blockquote>
  
  <pre><code>class Book
  {
      private String title,author;
      private int numberOfPages;
  
      Book()
      {
  
      }
  
      public Book(String title, String author, int pages) {
          this.title = title;
          this.author = author;
          this.numberOfPages = pages;
      }
  
      public String toString()   
      {
          return(title + "%63s") + "\t" + (author + "%63s") + "\t" + numberOfPages;
          // It actually works but makes the "%63s" appear :o
      }
  }
  </code></pre>