Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

restarting Applets

1 view
Skip to first unread message

Roedy Green

unread,
Mar 23, 2012, 12:58:04 PM3/23/12
to
I noticed that Opera or Chrome, applets work fine, but if you reload
the page, soon the browser will hang.

Sometimes Opera will work for one more cycle.

I was wondering what might cause this.

It might be that I set all my components to null in the Destroy
method, freeing them for GC. Am I supposed to dispose of them in some
way? There are no Frames involved.
--
Roedy Green Canadian Mind Products
http://mindprod.com
When you were a child, if you did your own experiment
to see if it was better to put to cocoa into your cup first
or the hot milk first, then you likely have the programmer gene..

Daniel Pitts

unread,
Mar 23, 2012, 5:19:21 PM3/23/12
to
On 3/23/12 9:58 AM, Roedy Green wrote:
> I noticed that Opera or Chrome, applets work fine, but if you reload
> the page, soon the browser will hang.
>
> Sometimes Opera will work for one more cycle.
>
> I was wondering what might cause this.
>
> It might be that I set all my components to null in the Destroy
> method, freeing them for GC. Am I supposed to dispose of them in some
> way? There are no Frames involved.

Only thing I can suggest for tracking this down is to attach a profiler
or debugger to the JVM. I'm not sure how to do this (or if it is
possible) for the browser plug-in.

Jeff Higgins

unread,
Mar 23, 2012, 8:08:14 PM3/23/12
to

Roedy Green

unread,
Mar 23, 2012, 8:59:08 PM3/23/12
to
On Fri, 23 Mar 2012 14:19:21 -0700, Daniel Pitts
<newsgrou...@virtualinfinity.net> wrote, quoted or indirectly
quoted someone who said :

>Only thing I can suggest for tracking this down is to attach a profiler
>or debugger to the JVM. I'm not sure how to do this (or if it is
>possible) for the browser plug-in.

They seem to work fine in the AppletViewer debugger inside Intellij.
It is something browsers are doing different. I notice they often put
up multiple consoles.
0 new messages