Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.java.* > Newsgroup comp.lang.java.gui

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-11-2009, 09:30 AM
Alireza
Guest
 
Posts: n/a
Default Autoscrolling with a point in jpanel

Hello,
I have a JPanel surrounded by a JScrollpane which I paint a point and
an image in it. The point's position moves during time and I want the
jscrollpane to autoscroll with it. In other words, I don't want the
point to go out of visible area of jpanel. What's the solution?
Thanks.
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

Reply

Thread Tools
Display Modes

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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 12:58 AM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.