Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > scroll to bottom

Reply
Thread Tools

scroll to bottom

 
 
cmk128@hotmail.com
Guest
Posts: n/a
 
      07-27-2005
Hi
I have a jscrollpandl containing a jtextarea
this can make jtextarea scroll to bottom

Rectangle visible = jTextArea1.getVisibleRect();
visible.y = jTextArea1.getHeight() - visible.height;
jTextArea1.scrollRectToVisible(visible);


but doesn't work for JEditorPane.
thanks
from Peter ((E-Mail Removed))

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
css "div" bottom of window or bottom of content. Dan HTML 1 04-04-2008 09:40 AM
Functionality to scroll into view? (autoamtically scroll to contentsin the bottom right corner of a large web page) crazychrisy54@hotmail.com Javascript 8 12-20-2007 08:28 AM
Functionality to scroll into view? (autoamtically scroll to contentsin the bottom right corner of a large web page) crazychrisy54@hotmail.com Javascript 0 12-19-2007 02:09 PM
How do we know the memory arrangement using in microprocessors? Top-Bottom or Bottom-Top? Cuthbert C Programming 8 09-13-2006 12:09 PM
CSS to put text at bottom of browser window, or page bottom, whichever is lower? Noozer HTML 1 03-13-2006 10:35 AM



Advertisments