Re: JScrollBar Repaint Question



So, basically, I will attempt (in lieu of slapping my code up here) to
describe the cause of the problem. Whenever I move the JInternalFrame
the JScrollBar resets its value to a number near 0. Whenever I repaint
the JDesktopPane the same thing occurs. The desired behavior is that
the ScrollBar stay in the same location despite a JInternalFrame move
or a JDesktopPane repaint.

I subclassed JScrollBar and perform a similar if statement as above. It
works but I would prefer the correct solution.

Thanks,

Mearvk

PS If you still need to see code after this explanation I will be happy
to post it. I don't think there is anything revealing in it however.

.