Results 1 to 4 of 4

Thread: JTextArea

  1. #1
    Join Date
    Aug 2012
    Rep Power

    Default JTextArea

    Hi Guys
    Is there possibly a way that JTextArea are can have some text aligned to the right and some aligned to the middle and others aligned to the left? (In a JFrame not a applet as i have seen many people on google telling others to embed html codes but that doesnt work for me)

    Thanks for reading and helping ^^

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

    Default Re: JTextArea

    It would probably be best if you used a JEditorPane or a JTextPane instead for text display with more than the most basic formatting or style.

  3. #3
    Join Date
    Aug 2012
    Rep Power

    Default Re: JTextArea

    oh thank you very much but how would you do it with that instead?
    :P and sry for taking up your time

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

Similar Threads

  1. Using JTextArea
    By tnixon22 in forum New To Java
    Replies: 10
    Last Post: 01-23-2011, 08:01 PM
  2. JTextArea
    By weikang in forum AWT / Swing
    Replies: 1
    Last Post: 12-01-2010, 05:51 AM
  3. JTextArea on PopUp -JTextArea isn't editable
    By Richy76 in forum AWT / Swing
    Replies: 3
    Last Post: 02-01-2010, 08:51 PM
  4. Tab key in JTextArea
    By KristoZ in forum New To Java
    Replies: 1
    Last Post: 09-25-2009, 07:27 PM
  5. JTextArea
    By saytri in forum New To Java
    Replies: 0
    Last Post: 01-13-2008, 02:07 AM

Tags for this Thread

Posting Permissions

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