Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1646
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.alt.net!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: prevent JList from au |
| Message-ID | <7250bc7b4ef07@uwe> (permalink) |
| X-Comment-To | comp.lang.java.gui |
| Newsgroups | comp.lang.java.gui |
| In-Reply-To | <1179410729.839583.164160@e65g2000hsc.googlegroups.com> |
| References | <1179410729.839583.164160@e65g2000hsc.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 | 41 |
| Date | Wed, 27 Apr 2011 15:34:32 GMT |
| NNTP-Posting-Host | 96.60.20.240 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1303918472 96.60.20.240 (Wed, 27 Apr 2011 10:34:32 CDT) |
| NNTP-Posting-Date | Wed, 27 Apr 2011 10:34:32 CDT |
| Organization | TDS.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1646 |
Show key headers only | View raw
To: comp.lang.java.gui Adam Sandler wrote: .. >...I'd like to prevent a JList from >resizing itself. >... Aren't the layout managers supposed >to take care sizing? Yes - they take their strongest tip from the preferred size of components. If practical - a component is set to its preferred size. >...If I set preferred size, does that conflict with >the layout manager? No. >...And what impact could setting the preferred size >have on different resolutions... especially if someone is using >something different than 4:3 or 16:9? If we set the preferred size, it is up to the us to calculate a sensible value. This might be based on the the content (list items), screen size, other things, or combinations. >Any suggestions on how to proceed are greatly appreciated. As far as the resolution goes, see Toolkit.getScreenSize(). -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via JavaKB.com http://www.javakb.com/Uwe/Forums.aspx/java-gui/200705/1 --- * 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 | Next — Previous in thread | Find similar | Unroll thread
prevent JList from automa "Adam Sandler" <adam.sandler@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000 Re: prevent JList from au "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
csiph-web