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


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

Re: JScrollPane resize /

From "lemmi" <lemmi@THRWHITE.remove-dii-this>
Subject Re: JScrollPane resize /
Message-ID <1189591512.545327.3910@g4g2000hsf.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <nvcae3tt1obf5o6sdltu5mtm166nff8tn3@4ax.com>
Date 2011-04-27 15:39 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
On Sep 10, 2:10 pm, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
>
> You can't avoid a flicker. Swing is going to have to totally repaint
> the window.
>

It is not really a flickering because of Swing repaints. The
flickering
is caused by the fact that the wrong region of the scrolled component
will
be shown first before the new region will be shown. Imagine having an
image
label inside a scrollpane. The user wants to zoom into the center of
the
image. Then the size of the label needs to be doubled (if that is the
scaling factor) and the location of the label needs to be adjusted so
that
the center of the image is shown in the center of the scrollpane.

Dirk

---
 * 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 | Unroll thread


Thread

JScrollPane resize / new "lemmi" <lemmi@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
  Re: JScrollPane resize / "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
    Re: JScrollPane resize / "lemmi" <lemmi@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
      Re: JScrollPane resize / "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
        Re: JScrollPane resize / "lemmi" <lemmi@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
          Re: JScrollPane resize / "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
            Re: JScrollPane resize / "lemmi" <lemmi@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000

csiph-web