🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7706

Re: addImpl() - what went wrong?

#7706
From: Maxim Golubitsky
Date: Tue, 29 May 2001 09:15
43 lines
2103 bytes
Torsten,
I found the problem.
In my snippet I omitted "insignificant" implementation details.
And one "innocent" function screwed up all...
  public boolean isEnabled(){
    return checkbox.getState();
  }
I understand what happened.
Please accept my apologies.

Maxim.

--
Regards,
Maxim Golubitsky
"Torsten Welches" <torsten.welches@who.cares.netcologne.de> wrote in message
news:3b113a1e_1@dnews...
> Maxim,
>
> your snippet works for me, if I add a, say, Button it gets
enabled/disabled
> and responds to mouse events.
> What JDK do you use? Can you provide a complete example that shows the
> problem?
>
> Torsten
>
> Maxim Golubitsky schrieb in Nachricht <3b10f569_2@dnews>...
> >Hi,
> >I wrote some class (see below), that extends Panel and have on it
Checkbox
> >and Panel.
> >All Components should be added to inner Panel and when Checkbox is
checked
> >they should be enabled and vice versa.
> >The problem is, that Checkbox and any components added to Panel doesn't
> >respond to mouse.
> >I think, this caused because I overrode addImpl(), but have no idea why
> this
> >happens and how to solve this problem.
>
>
>
Technical Details
Message-ID: <3b135a82_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!news.maxwell.syr.edu!news-was.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!nntp.CS.Uni-Magdeburg.De!PeerFeed.KWeb.on.ca!dnews
References: <3b10f569_2@dnews> <3b113a1e_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,64bd44c5695f9915
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-29 01:48:03 PST
From: "Maxim Golubitsky" <maxim@tradertools.com>
Newsgroups: borland.public.jbuilder.java.language
References: <3b10f569_2@dnews> <3b113a1e_1@dnews>
Subject: Re: addImpl() - what went wrong?
Date: Tue, 29 May 2001 11:15:27 +0200
Lines: 45
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 212.29.213.11
Message-ID: <3b135a82_2@dnews>
X-Trace: dnews 991124098 212.29.213.11 (29 May 2001 01:14:58 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!news.maxwell.syr.edu!news-was.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!nntp.CS.Uni-Magdeburg.De!PeerFeed.KWeb.on.ca!dnews