Bug in JEditorPane

I think I have discovered a bug in JEditorPane in Java for Windows
1.6.0_23 32-bit.

Take any JApplet.

Add this code to the start of the init method.

out.println( "initing...");
new JEditorPane( "text/html", "dummy" );
catch ( Exception e )
e.printStackTrace( err );

Then run the applet in a browser, not appleviewer or standalone.

Then move away from that page, and come back. This will run init

The first time through init there is no exception. The second time
there is.
Roedy Green Canadian Mind Products
To err is human, but to really foul things up requires a computer.
~ Farmer,s Almanac
It is breathtaking how a misplaced comma in a computer program can
shred megabytes of data in seconds.