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


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

Re: Weird window close be

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Lew" <lew@THRWHITE.remove-dii-this>
Subject Re: Weird window close be
Message-ID <0JGdnQH07OTU9PnVnZ2dnUVZ_uqdnZ2d@comcast.com> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <165424f2-332f-4cae-bb2c-c057a687ac47@h1g2000prh.googlegroups.com
References <165424f2-332f-4cae-bb2c-c057a687ac47@h1g2000prh.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 35
Date Wed, 27 Apr 2011 15:46:33 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303919193 96.60.20.240 (Wed, 27 Apr 2011 10:46:33 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:46:33 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:3725

Show key headers only | View raw


  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


Thread

Re: Weird window close be "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:46 +0000

csiph-web