Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By wsaryada

Thread: Visible table in JTextArea

  1. #1
    alexix is offline Member
    Join Date
    Feb 2013
    Posts
    19
    Rep Power
    0

    Default Visible table in JTextArea

    I have a JTextArea in which I want to insert a table that would look similar to this:

    http://imageshack.us/photo/my-images/855/tableew.png/

    Is there any way or do I have to make 10 text areas/fields/labels and place them one near another to form that? Thanks.

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Location
    Bali, Indonesia
    Posts
    760
    Rep Power
    8

    Default Re: Visible table in JTextArea

    Why do you want to do something like that? I suggest that you use JTable instead.
    alexix likes this.

  3. #3
    alexix is offline Member
    Join Date
    Feb 2013
    Posts
    19
    Rep Power
    0

    Default Re: Visible table in JTextArea

    Quote Originally Posted by wsaryada View Post
    Why do you want to do something like that? I suggest that you use JTable instead.
    Because I didn't know JTable exists :D, I thought I have to make it inside the text area.

    Thanks, this is what I was looking for.

Similar Threads

  1. Append to JTextArea after setting dialog visible
    By jimboat in forum AWT / Swing
    Replies: 4
    Last Post: 10-23-2012, 10:40 PM
  2. Replies: 1
    Last Post: 09-27-2011, 07:06 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. Replies: 1
    Last Post: 01-08-2010, 07:19 AM
  5. Tab or Table not visible
    By madhuvanthi2312 in forum SWT / JFace
    Replies: 1
    Last Post: 04-25-2009, 10:00 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
  •