View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Example using mouseClicked

def okButtonClicked(self,event):
.....if (event.getClickCount() == 1):
........print "clicked"

okButton = swing.JButton(" OK ", mouseClicked = self.okButtonClicked )


Link to this Page