Results 1 to 4 of 4
  1. #1
    Droid_X is offline Member
    Join Date
    Jan 2013
    Location
    New Zealand
    Posts
    10
    Rep Power
    0

    Default [AWT] TextArea Line Numbers

    Is it possible to add line numbers to a AWT TextArea?

    I specifically want to use AWT because I don't like the look of swing components.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default Re: [AWT] TextArea Line Numbers

    Quote Originally Posted by Droid_X View Post
    I don't like the look of swing components.
    Do you know about this?
    Lesson: Modifying the Look and Feel (The Java™ Tutorials > Creating a GUI With JFC/Swing)

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    Droid_X is offline Member
    Join Date
    Jan 2013
    Location
    New Zealand
    Posts
    10
    Rep Power
    0

    Default Re: [AWT] TextArea Line Numbers

    Ok, thanks.

    Then is there a way to add line numbers in a swing textarea?

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default Re: [AWT] TextArea Line Numbers

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 5
    Last Post: 06-07-2014, 05:39 PM
  2. Code Tag Line Numbers
    By awinston in forum Suggestions & Feedback
    Replies: 3
    Last Post: 08-16-2012, 04:22 AM
  3. How do I print numbers in a line?
    By Emtino in forum New To Java
    Replies: 2
    Last Post: 04-17-2012, 08:08 AM
  4. Display line numbers in source code
    By g9n99 in forum Eclipse
    Replies: 2
    Last Post: 03-24-2012, 01:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •