Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #503

Re: JScrollBar Repaint Qu

From "mearvk" <mearvk@THRWHITE.remove-dii-this>
Subject Re: JScrollBar Repaint Qu
Message-ID <1167257920.925074.286750@i12g2000cwa.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <HvBkh.62276$wZ4.897518@weber.videotron.net>
Date 2011-04-27 15:27 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
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.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: JScrollBar Repaint Qu "mearvk" <mearvk@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
  Re: JScrollBar Repaint Qu "Oliver Wong" <oliver.wong@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
    Re: JScrollBar Repaint Qu "mearvk" <mearvk@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
      Re: JScrollBar Repaint Qu "Oliver Wong" <oliver.wong@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
        Re: JScrollBar Repaint Qu "mearvk" <mearvk@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
          Re: JScrollBar Repaint Qu "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
          Re: JScrollBar Repaint Qu "Oliver Wong" <oliver.wong@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000

csiph-web