Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAI and JScrollPane

Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good afternoon, all.
One of my coworkers has encountered a really strange problem. He's attempting to use the Java Advanced Imaging API with a JScrollPane to develop an applet for uploading images. (This is for use on an intranet, so we're able to use the plugin and be assured everyone will actually download it.)
The problem is this - the images as rendered by the JAI system are scrolling just fine... but don't seem to care where the edge of the scrollpane are. (Or, to put it better - if you scroll an image "off" the top of the scrollpane, it keeps floating up into the rest of the applet, rather than being constrained to the scrollpane itself.) The rest of the components in the scrollpane are respecting the edges.
Any suggestions for how we can fend this off?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic