Results 1 to 2 of 2
  1. #1
    cecchino82 is offline Member
    Join Date
    May 2011
    Rep Power

    Default SWT: limit textarea row length

    I have to limit the row length of a textarea (SWT).

    For example if lenght is 10:

    "The first time i was in london" become

    "The first "
    "time i was"
    " in london"

    The control of the length have to be done while the user is writing the text.

    Thanks in advance,

  2. #2
    Jodokus's Avatar
    Jodokus is offline Senior Member
    Join Date
    Jan 2011
    Amsterdam, the Netherlands
    Rep Power

Similar Threads

  1. decimal limit help
    By Newtothis in forum New To Java
    Replies: 3
    Last Post: 11-16-2010, 06:37 PM
  2. limit login attempts
    By tooker22 in forum CLDC and MIDP
    Replies: 2
    Last Post: 08-15-2010, 03:48 PM
  3. jtextfield limit?
    By devstarter in forum New To Java
    Replies: 1
    Last Post: 03-01-2010, 06:17 PM
  4. Can you Limit JSpinners??
    By ashton in forum New To Java
    Replies: 1
    Last Post: 02-09-2009, 06:10 AM
  5. Limit of String
    By javaplus in forum New To Java
    Replies: 5
    Last Post: 11-19-2007, 04:48 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