my dog learned polymorphism*
The moose likes Java in General and the fly likes Graphics 2d Object and Scroll Bar Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Graphics 2d Object and Scroll Bar Issue" Watch "Graphics 2d Object and Scroll Bar Issue" New topic
Author

Graphics 2d Object and Scroll Bar Issue

J Cleary
Greenhorn

Joined: Mar 24, 2006
Posts: 13
Hello all, i have a desperate problem please, any ideas would be appreciated.
I want to know how to scroll a screen with a set of rectangles drawn using the java 2d approach (Graphics g)? i have the scroll bar displayed but it does not work.
i have exhausted my ideas.
Thanks
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2367
Here is one example.

Is this what you are looking for?

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Graphics 2d Object and Scroll Bar Issue
 
Similar Threads
JComboBox
how to draw directly to the monitor without a While loop
Graphics 2d Object and Scroll Bar Issue
JScrollBar
Jtable scroll pane horizontal bar ?