GeeCON Prague 2014*
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


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: 4571
    
    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: 4571
    
    5

Moved from 'Java in General'
 
GeeCON Prague 2014
 
subject: First and Last Row numbers from viewable portion of jtextarea?