Message6648
Take this very simple code:
from javax.swing import JFrame
window = JFrame('Test',
defaultCloseOperation = JFrame.EXIT_ON_CLOSE,
size = (800, 600))
window.visible = True
The created window opens for a few seconds, and then closes. The only way I have found to keep the window open is by adding `while True: pass` after showing it, so it might be something to do with `window` going out of scope and being cleaned up, forcing it to close.
I have also encountered what I believe to be a more complicated manifestation of the same bug, which is best-documented here: http://stackoverflow.com/questions/6991878/why-is-my-file-getting-closed-if-i-dont-do-anything-with-it-for-a-while |
|
Date |
User |
Action |
Args |
2011-09-16 01:53:54 | camjackson | set | recipients:
+ camjackson |
2011-09-16 01:53:54 | camjackson | set | messageid: <1316138034.6.0.892039144364.issue1797@psf.upfronthosting.co.za> |
2011-09-16 01:53:54 | camjackson | link | issue1797 messages |
2011-09-16 01:53:53 | camjackson | create | |
|