I have an application which uses the form generator, and when it calls it, the form generated is displayed, but is completely blank and hangs (does not exit nor show any of its contents). It doesnt even have the correct background color... But some how it does have a title. Its just a big grey rectangle.
I 3 code snippets below - 2 of them work fine, but the 3rd fails. In the third, a hang results. Please help this is very strange. I suspect it is a bug in JFrame or in the Dispatch Thread or something?
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
0
works OK for me - shows the title bar only (no size), but when expanded the button is displayed OK
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Blank JFrame caused by creation in an Inner Class