Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3612
| From | "Lew" <lew@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Showing two images in |
| Message-ID | <jbSdnS9w6OqPcNjVnZ2dnUVZ_qqdnZ2d@comcast.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <g24h4j$p42$1@registered.motzarella.org> |
| Date | 2011-04-27 15:45 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui Paul.Lee.1971@gmail.com allegedly wrote: >> JFrame f = new JFrame(); Daniele Futtorovic wrote: > f.getContentPane().add(label, BorderLayout.WEST); > f.getContentPane().add(label2, BorderLayout.EAST); <http://java.sun.com/javase/6/docs/api/javax/swing/JFrame.html> >> As a conveniance [sic] add and its variants, remove and setLayout >> have been overridden to forward to the contentPane as necessary. >> This means you can write: >> >> frame.add(child); -- Lew --- * 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
Re: Showing two images in "Daniele Futtorovic" <daniele.futtorovic@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000 Re: Showing two images in Paul.Lee.1971@gmail.com.remove-dii-this - 2011-04-27 15:45 +0000 Re: Showing two images in "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000
csiph-web