Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3725
| From | "Lew" <lew@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Weird window close be |
| Message-ID | <0JGdnQH07OTU9PnVnZ2dnUVZ_uqdnZ2d@comcast.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <165424f2-332f-4cae-bb2c-c057a687ac47@h1g2000prh.googlegroups.com |
| Date | 2011-04-27 15:46 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui
Andrew Thompson wrote:
> Lew wrote:
> ...
>> frame.getContentPane().add(new JLabel("hi"));
>
> Huhh?!? Lew, writing one *iota* of code to
> support Java <1.5* JREs?
>
> Is this..
> - an oversite?**
> - an(other) imposter?
> - an alternate universe?
>
> * See the new features for Swing in 1.5.
> <http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html#swing>
>
> ** I am constantly having to recheck my 1.5+
> code for calls to getContentPane()!
Well, there are two factors at work. One, I was quoting the OP's code, so it
really wasn't my fault. Two, I am not nearly as adept with Swing as you are.
I wouldn't normally label a label "hi", either.
What should actually amaze you is that I had anything useful to say about
Swing programming at all.
--
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 | Find similar | Unroll thread
Re: Weird window close be "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:46 +0000
csiph-web