🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.database
Article #347

Re: weird erorr in querydataset

#347
From: Kevin Dean [TeamB]
Date: Fri, 15 Sep 2006 18:56
25 lines
2100 bytes
Zvonko wrote:

>OK, to explain. I hav a JdesktopPane with JMenuBar. When a user clicks 
>something in a JMenu, jInternalFrame is opening with two jdbTables in 
>which are data returned from two queryDataSets who are in master/detail 
>relationship.

That code suggests to me that you're not removing the listeners properly.  
The previous instances of the frames are still there in memory with 
listeners on the query data set.  Managing listeners whose sources survive 
the destruction of the destinations can be quite tricky.  Make sure you're 
using "remove..Listener" when closing your dependent frame.

-- 
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <xn0er95hnbcjjv003-kdean@www.teamb.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45050424@newsgroups.borland.com> <xn0er3b4p14e80000-kdean@www.teamb.com> <45064c26@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,f947989fc05ae347
X-Google-Attributes: gid1073da,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: weird erorr in querydataset
Newsgroups: borland.public.jbuilder.database
References: <45050424@newsgroups.borland.com> <xn0er3b4p14e80000-kdean@www.teamb.com> <45064c26@newsgroups.borland.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.18.1.3
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobrp]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0er95hnbcjjv003-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:00000629
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
NNTP-Posting-Host: 70.27.198.51
Date: 15 Sep 2006 11:56:20 -0700
X-Trace: newsgroups.borland.com 1158346580 70.27.198.51 (15 Sep 2006 11:56:20 -0700)
Lines: 25
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail