• Post Reply Bookmark Topic Watch Topic
  • New Topic

Scrolling 1.1.8 Java Components on the Mac  RSS feed

Naomi Proctor
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I using Java 1.1.8 on Mac OS 9.2 (IE). I have one big panel (twice the size of my screen) that contains labels. A scrollbar is used to horizonatally scroll the big panel using the scrollbar
adjustment listener:
public void adjustmentValueChanged(AdjustmentEvent e) {
My problem is that labels that go off the screen when draggin the scrollbar are not repainted properly and I end up with a big mess of gray lines and white lines and such UNTILL I let go of the scrollbar at which point everything is repainted properly. It is like something is not being validated but I am explicitly validating and updating everything (panels labels) in my validateAll() method This code works on Windows but not on the MAC. I have to use Java 1.1.8. I also notice I do not
have this problem when I draw lines on the panels just when I put labels (components) on the panels. Any help would be greatly appreciated!!!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!