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


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

Re: how to detect divider

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "tar" <tar@THRWHITE.remove-dii-this>
Subject Re: how to detect divider
Message-ID <ymiodp9fnmx.fsf@sevak.isi.edu> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <1168036913.525128.182380@s80g2000cwa.googlegroups.com>
References <1168036913.525128.182380@s80g2000cwa.googlegroups.com>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 29
Date Wed, 27 Apr 2011 15:28:27 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918107 96.60.20.240 (Wed, 27 Apr 2011 10:28:27 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:28:27 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:598

Show key headers only | 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