Results 1 to 4 of 4
  1. #1
    miko5054 is offline Member
    Join Date
    Mar 2010
    Posts
    50
    Rep Power
    0

    Default java PrintWriter

    im writing some text to a file by usine PrintWriter
    how to align text to right ?
    im writing Hebrew and the output file is left to right

    thanks

    miki

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by miko5054 View Post
    im writing some text to a file by usine PrintWriter
    how to align text to right ?
    im writing Hebrew and the output file is left to right

    thanks

    miki
    When using PrintWriter you're only writing text, not formatted text, so "align to the right" has no meaning.

  3. #3
    miko5054 is offline Member
    Join Date
    Mar 2010
    Posts
    50
    Rep Power
    0

    Default

    thanks for the answer
    can you refer me to a class or method that will help me to format the text

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. printWriter problem
    By Lund01 in forum Advanced Java
    Replies: 6
    Last Post: 10-14-2010, 01:28 PM
  2. Help with printwriter class
    By eel in forum New To Java
    Replies: 9
    Last Post: 09-19-2010, 02:04 PM
  3. Help with PrintWriter code
    By eel in forum New To Java
    Replies: 4
    Last Post: 09-19-2010, 07:36 AM
  4. Help with printwriter.
    By Addez in forum New To Java
    Replies: 2
    Last Post: 10-30-2009, 01:58 PM
  5. Using Printwriter (java.io.*)
    By LifeWithJava in forum New To Java
    Replies: 3
    Last Post: 12-25-2008, 08:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •