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


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

Re: Odd GUI behavior (Win

From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: Odd GUI behavior (Win
Message-ID <1164635249.395717.219920@j72g2000cwa.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <1164632000.749226.181350@l39g2000cwd.googlegroups.com>
Date 2011-04-27 15:26 +0000
Organization TDS.net

Show all headers | 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