|
[Date Index]
[Thread Index]
[Author Index]
Re: Bug in JavaBlock (or in JavaBlock documentation)
- To: mathgroup at smc.vnet.net
- Subject: [mg56279] Re: Bug in JavaBlock (or in JavaBlock documentation)
- From: David Bailey <dave at Remove_Thisdbailey.co.uk>
- Date: Wed, 20 Apr 2005 05:33:08 -0400 (EDT)
- References: <200504180708.DAA20033@smc.vnet.net> <d42l2l$3gs$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
There are two semicolons missing from your test - which should read:
Scan[ReleaseJavaObject, PeekObjects[]];
JavaBlock[JavaNew["javax.swing.JProgressBar"];];
PeekObjects[]
As written the JavaBlock was returning the Java object as its result -
so it could not be garbage collected. Certainly, the problem goes away
if you stop this happening.
David Bailey
dbaileyconsultancy.co.uk
Prev by Date:
How to run multiple sessions on Mac OS X?
Next by Date:
Re: plot on condition
Previous by thread:
Re: Bug in UI?
Next by thread:
Re: Bug in JavaBlock (or in JavaBlock documentation)
|