Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3022
| From | "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Trying to put a backg |
| Message-ID | <1fOdnX0dZdGk4xHanZ2dnUVZ8vGdnZ2d@novis.pt> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <G7mdnd96SOZ16RbanZ2dnUVZ_ufinZ2d@comcast.com> |
| Date | 2011-04-27 15:42 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui Lew wrote: > Sabine Dinis Blochberger wrote: > > Eureka! The difference was between using getContentPane.add() and > > setContentPane(). The call to setContentPane() has to be made before the > > initComponents() call, if using NetBeans. > > Why does using NetBeans matter? > > Isn't Java Java? > > It matters because NetBeans puts all the component initialization and layout into a method called initComponents(), which *it* won't allow you to edit in the source code - you can only through the properties editor. NetBeans keeps separate "form" files, for the visual GUI editing I suppose. Just a caveat for the accomodated (like me <g>) I suppose. Not an issue if you use NetBeans but not it's "generators", or do everything "by hand". -- Sabine Dinis Blochberger Op3racional www.op3racional.eu --- * 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 | Next in thread | Find similar | Unroll thread
Trying to put a backgroun "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Trying to put a backg "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Trying to put a backg "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Trying to put a backg "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Trying to put a backg "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Trying to put a backg "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Trying to put a backg "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Trying to put a backg "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Trying to put a backg "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Trying to put a backg "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Trying to put a backg "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Trying to put a backg "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Trying to put a backg "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
csiph-web