Results 1 to 6 of 6
  1. #1
    nicacutenica is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default Java: How do i align the text in the center?

    example word: Hello

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  3. #3
    nicacutenica is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default

    right or center

  4. #4
    curmudgeon is offline Senior Member
    Join Date
    May 2010
    Posts
    436
    Rep Power
    5

    Default

    As per our previous discussion in your prevous thread (where did it go????), you going to have to show your effort here first to get the best help here. What have you tried? How is it not working? Do any lines of your code throw an error? Also, are you familiar with using the various AWT/SWING layout managers? They can help make placement of components easy.

    Sorry but I'm a bit jaded, a curmudgeon, really, and due to this, I have been waiting a bit for the "dog ate my homework" shtick, but for some reason it's not yet forthcoming. .... we'll see.

    Suerte amigo!
    Last edited by curmudgeon; 06-28-2010 at 06:28 AM.

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  6. #6
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,770
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by curmudgeon View Post
    I have been waiting a bit for the "dog ate my homework" shtick, but for some reason it's not yet forthcoming. .... we'll see.
    They can do better than that: relatives being lethally ill, been kicked out of the house; teacher killed by a nuclear bomb, you name it, they are the professor checking his tests for the students; they've endured it ;-)

    kind regards,

    Jos

Similar Threads

  1. Replies: 4
    Last Post: 02-05-2011, 07:47 PM
  2. Replies: 0
    Last Post: 04-14-2010, 03:10 PM
  3. is there is any java based call center dialer?
    By 435.mahesh in forum Java Software
    Replies: 0
    Last Post: 03-06-2009, 07:20 AM
  4. JTextArea - text align
    By bradder in forum AWT / Swing
    Replies: 1
    Last Post: 11-29-2007, 08:08 PM
  5. Replies: 4
    Last Post: 06-08-2007, 07:15 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
  •