swingTest.py
Go to the documentation of this file.
00001 from javax.swing import *
00002 
00003 def act(evt):
00004   print "punch!!!"
00005 
00006 f = JFrame()
00007 c = f.getContentPane()
00008 c.add(JButton("Punch", actionPerformed = act))
00009 f.setSize(200,200)
00010 f.setVisible(1)


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:19