Re: JScrollBar Repaint Question
- From: "mearvk" <mearvk@xxxxxxxxx>
- Date: 27 Dec 2006 14:18:40 -0800
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.
.
- Follow-Ups:
- Re: JScrollBar Repaint Question
- From: Oliver Wong
- Re: JScrollBar Repaint Question
- References:
- JScrollBar Repaint Question
- From: mearvk
- Re: JScrollBar Repaint Question
- From: mearvk
- Re: JScrollBar Repaint Question
- From: Oliver Wong
- JScrollBar Repaint Question
- Prev by Date: Re: apple.awt.brushmetallook on Windows?
- Next by Date: Re: apple.awt.brushmetallook on Windows?
- Previous by thread: Re: JScrollBar Repaint Question
- Next by thread: Re: JScrollBar Repaint Question
- Index(es):