This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 5047
    
  10

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: 5047
    
  10

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?
 
jQuery in Action, 3rd edition