Skip to content, Skip to search


TrakEM2 Scripting

42 bytes added, 13:16, 19 March 2010
Enrich the GUI of TrakEM
= Enrich the GUI of TrakEM =
=== Add an extra tab to a Display === TrakEM API is accessible at all times. Here is an example that adds a new tab to the display. This The new tab consists of a JPanel with a single button in it.
Notice that Jython lets you define the methods of event listeners as additional arguments to the constructor. So the JButton gets an actionPerformed method (from the ActionListener interface) just by referencing a declared method.
Emailconfirmed, uploaders