This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes First and Last Row numbers from viewable portion of jtextarea? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "First and Last Row numbers from viewable portion of jtextarea?" Watch "First and Last Row numbers from viewable portion of jtextarea?" New topic
Author

First and Last Row numbers from viewable portion of jtextarea?

shivam kataka
Greenhorn

Joined: Feb 09, 2012
Posts: 3
HI,

I am trying to get the row numbers of first and last from viewable portion of jtextarea. The starting row is working correctly, but i am not getting the last row number.

http://pastebin.com/UgKCHgcx

Thanks
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

shivam, please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/awt-swing/55353-first-last-row-number-viewable-portion-jtextarea.html
http://stackoverflow.com/questions/9203893/getting-the-changed-lines-jtextarea/9205514#comment11604224_9205514


luck, db
There are no new questions, but there may be new answers.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Moved from 'Java in General'
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: First and Last Row numbers from viewable portion of jtextarea?
 
Similar Threads
Tile constraints
JTextArea with varied lengths
JFrame, JTextArea, JOptionPain, JApplet? Clarification?
JTable and ScrollPane movement
Putting numbers into array