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


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

Re: Wrap text dont ajust

From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: Wrap text dont ajust
Message-ID <1165072309.791678.288790@80g2000cwy.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <1165068982.754454.206730@j44g2000cwa.googlegroups.com>
Date 2011-04-27 15:26 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Paulo Filipe wrote:
> My problem is that ...

..nobody without..

> import info.clearthought.layout.TableLayout;

..can compile the code, and therefore is less likely
to be able to help you.

Also, The line lengths were very long (just because
the HTML was long, did not mean the code lines
had to be!) and they wrapped and needed to be
fixed before the code would compile.

I suggest posting SSCCE's when seeking help..
<http://www.physci.org/codes/sscce/>
This will require you to remove all non-J2SE imports,
such as the TableLayout.  If you are unable to
reproduce the problem using core Java layouts,
it might indicate a problem with the TableLayout
itself, which is probably best taken up with the
author.

Note though, that needing to set the preferred
size of a component is, in itself, sometimes a
hint that something is wrong with the GUI.

&.. don't forget to call pack() or validate(), as
behaviour can be quite random otherwise.

HTH

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

Wrap text dont ajust heig "Paulo Filipe" <paulo.filipe@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: Wrap text dont ajust "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
    Re: Wrap text dont ajust "Paulo Filipe" <paulo.filipe@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: Wrap text dont ajust "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
    Re: Wrap text dont ajust "Paulo Filipe" <paulo.filipe@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: Wrap text dont ajust "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000

csiph-web