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


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

Re: Odd GUI behavior (Win

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: Odd GUI behavior (Win
Message-ID <1164635249.395717.219920@j72g2000cwa.googlegroups.com> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <1164632000.749226.181350@l39g2000cwd.googlegroups.com>
References <1164632000.749226.181350@l39g2000cwd.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 39
Date Wed, 27 Apr 2011 15:26:10 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303917970 96.60.20.240 (Wed, 27 Apr 2011 10:26:10 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:26:10 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:201

Show key headers only | View raw


  To: comp.lang.java.gui
Tandaina wrote:
> Alright all, I've got a doozy that's driving me nuts.  I'm afraid I
> can't post code ...

Phew!  Most people here would not have time to trawl
through it anyway, if all else fails, see instead*..
(AKA - Fear not)

>...since this is from a very, very large application but
> I'm hoping someone will find the problem familiar and give me an idea
> of where to start looking because I'm stumped.
...
> Any ideas?  Where the heck should I be looking?

The GUI code.  Look particularly for use of setSize()
(a bad sign) setBounds() (a worse sign) setLayout(null)
(hire somebody that knows how to write GUI's).

Look also for *lack* of pack()/validate(), as that
can *hide* problems that may not be apparent
on one platform.

And if that fails, get a copy of the code, cut off
the D/B and replace the data with groups of
generated strings, then cut the GUI down till
you can show a single, short example of code *
of any JList that fails to render properly,
and post it to the group.

* Commonly known as an SSCCE
<http://www.physci.org/codes/sscce/>

Andrew T.

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

Odd GUI behavior (Windows "Tandaina" <tandaina@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: Odd GUI behavior (Win "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
    Re: Odd GUI behavior (Win "Tandaina" <tandaina@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
    Re: Odd GUI behavior (Win "Tandaina" <tandaina@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: Odd GUI behavior (Win "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
    Re: Odd GUI behavior (Win "Tandaina" <tandaina@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
      Re: Odd GUI behavior (Win "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000

csiph-web