java - textarea

Discussion in 'Software' started by e_f_w_a, Sep 27, 2004.

  1. e_f_w_a

    e_f_w_a Private E-2

    i want the text inside TextArea to be aligned to the right . how can i do that?
     
  2. Wookie

    Wookie Sergeant Major

  3. e_f_w_a

    e_f_w_a Private E-2

    public ... {
    JTextArea checkit = new JTextArea(19,70);
    public void init() {
    add(checkit);
    add(new JScrollPane(checkit), BorderLayout.SOUTH);
    <here i wanna do alignment for the TEXT itself to the right... how is it possible?>
    }
    ...
    }
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds