JTextArea size

Discussion in 'Java' started by nos, Dec 17, 2003.

  1. nos

    nos Guest

    Working on a new app. with

    output = new JTextArea(3, 45); // rows columns

    How much data can I send to it using append

    output.append("Your screen width is 1024.\n");

    before it is full?
    TIA
    nos, Dec 17, 2003
    #1
    1. Advertising

  2. nos <> wrote:
    > Working on a new app. with
    >
    > output = new JTextArea(3, 45); // rows columns
    >
    > How much data can I send to it using append
    >
    > output.append("Your screen width is 1024.\n");
    >
    > before it is full?




    Integer.MAX_VALUE - 1 characters.



    Christian
    --
    And in short, I was afraid.
    Christian Kaufhold, Dec 18, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ahmed Moustafa

    Tab key on JTextArea

    Ahmed Moustafa, Jun 28, 2003, in forum: Java
    Replies:
    1
    Views:
    2,802
    xarax
    Jun 28, 2003
  2. bad_knee
    Replies:
    0
    Views:
    516
    bad_knee
    Jul 13, 2003
  3. Kevin Munro

    JTextArea Size

    Kevin Munro, Dec 3, 2003, in forum: Java
    Replies:
    2
    Views:
    7,260
    Alex Hunsley
    Dec 3, 2003
  4. Jason Cavett

    Preferred Size, Minimum Size, Size

    Jason Cavett, May 23, 2008, in forum: Java
    Replies:
    5
    Views:
    12,558
    Michael Jung
    May 25, 2008
  5. Christopher Benson-Manica

    JTextArea preferred size

    Christopher Benson-Manica, Feb 9, 2009, in forum: Java
    Replies:
    1
    Views:
    1,475
    Knute Johnson
    Feb 9, 2009
Loading...

Share This Page