From: Bill C. <mai...@re...> - 2009-06-30 21:16:30
|
Hi, I integrated StandaloneTextArea into my application, and now even when the JFrame disposes itself, the application will not terminate realizing there are no more visible windows. I have DISPOSE_ON_CLOSE set as the def close op on the JFrame. With a normal JTextArea or JEditorPane, when the last frame is closed the app shuts down normally. I did a jstack on the app and heres what I found the disposer doing. "Java2D Disposer" daemon prio=10 tid=0x0af9d400 nid=0x974 in Object.wait() [0x0b44f000..0x0b44fd14] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x02ec3668> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116) - locked <0x02ec3668> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132) at sun.java2d.Disposer.run(Disposer.java:125) at java.lang.Thread.run(Thread.java:619) Is there anything inside the StandAloneTextArea or the Buffer that would cause this? Thanks |