Re: Weird window close behavior
- From: Lew <lew@xxxxxxxxxxxxx>
- Date: Fri, 27 Jun 2008 00:15:04 -0400
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
.
- References:
- Weird window close behavior
- From: mrstephengross
- Re: Weird window close behavior
- From: Daniel Pitts
- Re: Weird window close behavior
- From: mrstephengross
- Re: Weird window close behavior
- From: Lew
- Re: Weird window close behavior
- From: Andrew Thompson
- Weird window close behavior
- Prev by Date: Re: Weird window close behavior
- Next by Date: Re: Weird window close behavior
- Previous by thread: Re: Weird window close behavior
- Next by thread: Re: Weird window close behavior
- Index(es):
Relevant Pages
|