The moose likes Swing / AWT / SWT / JFace and the fly likes First and Last Row numbers from viewable portion of jtextarea? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply 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: 3221

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: 3221

Moved from 'Java in General'
 
IntelliJ Java IDE
 
subject: First and Last Row numbers from viewable portion of jtextarea?
 
Threads others viewed
Tile constraints
JTextArea with varied lengths
JFrame, JTextArea, JOptionPain, JApplet? Clarification?
Putting numbers into array
JTable and ScrollPane movement
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture