<s> """<STR_LIT>""" <EOL> from javax import swing <EOL> import sys <EOL> def test ( panel , size = None , name = '<STR_LIT>' ) : <EOL> f = swing . JFrame ( name , windowClosing = lambda event : sys . exit ( <NUM_LIT:0> ) ) <EOL> if hasattr ( panel , '<STR_LIT>' ) : <EOL> panel . init ( ) <EOL> f . contentPane . add ( panel ) <EOL> f . pack ( ) <EOL> if size is not None : <EOL> from java import awt <EOL> f . setSize ( apply ( awt . Dimension , size ) ) <EOL> f . setVisible ( <NUM_LIT:1> ) <EOL> return f <EOL> if swing is not None : <EOL> import pawt , sys <EOL> pawt . swing = swing <EOL> sys . modules [ '<STR_LIT>' ] = swing <EOL> swing . __dict__ [ '<STR_LIT:test>' ] = test </s>
