I have created a sample application that re-creates the GDI error, see attached. I've used a online java applet to demostrate the issue. Please check the GDI count and you notice it does not go down only up. There also appears to be an issue running the test again after you have finished, testcomplete does not appear to be to fine the application a second time with out restarting both the test application and the java applet.
I've also uploaded the same project to my case via the link provided by "Vladimir Lapidus".