Results 1 to 2 of 2
- 11-06-2010, 05:09 PM #1
Senior Member
- Join Date
- Mar 2010
- Location
- Manila, Philippines
- Posts
- 257
- Rep Power
- 4
How to include a line number in a Text Area
Greetings,
How would I implement this to a text area component (like JTextArea, or JEditorPane) wherein each line a encode; there exists a line counter the increments with respect to the number of lines in the text area?
Can you help me determine what classes, methods, implementation I am to utilize to have this output.
To clearly visualize this, this is similar to the line counter of some IDEs (Netbeans, Eclipse, etc.).
Thanks,
Cyril H.Every project, package, class, method, variable, syntax, algorithm, etc.
are registered in my memory bank. Thanks to this thread.
- 11-06-2010, 05:44 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,400
- Blog Entries
- 7
- Rep Power
- 17
Camickr, the Swing wizard has a nice entry on exactly this topic.
kind regards,
Jos
Similar Threads
-
[SOLVED] How to get text area to line up with label.
By Nicholas Jordan in forum AWT / SwingReplies: 8Last Post: 12-28-2010, 12:21 AM -
How display text in listbox or text area right to left or center??
By sameer22 in forum CLDC and MIDPReplies: 0Last Post: 09-28-2010, 09:52 AM -
send email may include, ONLY a whole web page at the place of text below, by refering
By lse123 in forum NetworkingReplies: 0Last Post: 08-06-2010, 05:40 PM -
under line text area data
By anilkumar_vist in forum New To JavaReplies: 1Last Post: 02-25-2010, 03:37 PM -
[SOLVED] Text Area new line problem
By Jay-1.1 in forum New To JavaReplies: 3Last Post: 05-07-2008, 04:18 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks