File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Graphics 2d Object and Scroll Bar Issue

 
J Cleary
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2399
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is one example.

Is this what you are looking for?

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic