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


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

Re: how to detect divider

From "tar" <tar@THRWHITE.remove-dii-this>
Subject Re: how to detect divider
Message-ID <ymiodp9fnmx.fsf@sevak.isi.edu> (permalink)
Newsgroups comp.lang.java.gui
References <1168036913.525128.182380@s80g2000cwa.googlegroups.com>
Date 2011-04-27 15:28 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
"William Z." <Wizumwalt@gmail.com> writes:

> I've got a JDIC WebBrowser component -> JPanel -> JTabbedPane which is
> in the bottom component of a JSplitPane in my application. When I
> initially open this Panel, everything (the web browser) looks fine, but
> anytime I shrink the size of the bottom component by sliding the
> JSplitPane's divider bar, the browser border is always missing on the
> bottom part of the JPanel (as if it's still in full size but running
> past till the very edge of my applications main JFrame border. The only
> time it looks normal is when I resize the bar to it's full size or the
> size when it was initially created.

Certainly sounds like a Layout Manager problem.

Doesn't JTabbedPane want to size each Tab content to be the size of the
largest one?  Perhaps there is an alternate layout manager that will
work with this?

What layout manager are you using in the JPanel?  What other tabs are
present in the JTabbedPanel?

-- 
Thomas A. Russ,  USC/Information Sciences Institute

---
 * 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 | Find similar


Thread

how to detect divider bar "William Z." <william.z.@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
  Re: how to detect divider "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000

csiph-web