Message5431
This code crashes always on my machine:
from javax.swing import *
class PanelTest(JPanel):
def paintComponent(self, g):
super(PanelTest, self).paintComponent(g)
if __name__ == '__main__':
frame = JFrame("Jython Swing Test")
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE)
pnl = PanelTest()
frame.add(pnl)
frame.pack()
frame.setVisible(True) |
|
Date |
User |
Action |
Args |
2010-01-13 10:58:10 | WA | set | recipients:
+ WA |
2010-01-13 10:58:10 | WA | set | messageid: <1263380290.04.0.392277276861.issue1540@psf.upfronthosting.co.za> |
2010-01-13 10:58:09 | WA | link | issue1540 messages |
2010-01-13 10:58:09 | WA | create | |
|