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


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

Re: JLabel wrapping

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.gui
Subject Re: JLabel wrapping
Date 2014-06-02 09:40 -0700
Organization Canadian Mind Products
Message-ID <b5apo99fq66rnikbh42371b9fs2cf5gnbm@4ax.com> (permalink)
References <hr34o91gbi10906ocae4fi5pt7ls1kigkp@4ax.com>

Show all headers | View raw


On Sun, 25 May 2014 08:49:29 -0700, Roedy Green
<see_website@mindprod.com.invalid> wrote, quoted or indirectly quoted
someone who said :

>
>They sporadically turn into tall stacks of phrases just a few words
>long, even though there is plenty of space to stretch out
>horizontally.

I got it to behave by using a GridBagLayout with a fill of HORIZONTAL
on the various JLabels to stretch them out .
-- 
Roedy Green Canadian Mind Products http://mindprod.com
In former times, people who craved absolute power became gangsters.
Today, they become computer programmers.

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Find similar


Thread

JLabel wrapping Roedy Green <see_website@mindprod.com.invalid> - 2014-05-25 08:49 -0700
  Re: JLabel wrapping Joerg Meier <joergmmeier@arcor.de> - 2014-05-25 18:16 +0200
    Re: JLabel wrapping Roedy Green <see_website@mindprod.com.invalid> - 2014-05-26 11:04 -0700
  Re: JLabel wrapping "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-05-26 09:50 +1000
    Re: JLabel wrapping Roedy Green <see_website@mindprod.com.invalid> - 2014-05-26 11:19 -0700
  Re: JLabel wrapping Ricardo Palomares <rpmdisguise-java@nowhere.com> - 2014-05-26 23:13 +0200
  Re: JLabel wrapping Roedy Green <see_website@mindprod.com.invalid> - 2014-06-02 09:40 -0700

csiph-web