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


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

JScrollPane resize / new

From "lemmi" <lemmi@THRWHITE.remove-dii-this>
Subject JScrollPane resize / new
Message-ID <1189422454.499481.64600@19g2000hsx.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:38 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Hi there,

I have an application that uses a JScrollPane to display a component
that will be resized every once in a while. At the same time of the
resize I also want to set a new position for the resized component.
E.g. I am doubling the size of the  component and want to change its
location within the viewport so that the component stays centered.
What is the best way to accomplish this without seeing a flickering
behaviour?

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 | NextNext 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