Module Expr Str ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Num keyword Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad TupleLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Str Assign NameStore TupleLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Import alias Expr Call AttributeLoad NameLoad attr Call NameLoad
N/A N/A A rough translation of an example from the Java Tutorial
http://java.sun.com/docs/books/tutorial/

This example shows how to use List
 java applet awt java.awt.event ItemEvent pawt GridBag ListDemo N/A N/A applet Applet N/A fillList N/A N/A self list names N/A N/A N/A N/A list actionPerformed N/A self action N/A N/A list itemStateChanged N/A self change N/A name names N/A N/A N/A N/A list add name N/A init N/A N/A self N/A N/A N/A N/A self spanish N/A N/A awt List 4 1 N/A N/A N/A self fillList N/A self spanish N/A uno dos tres cuatro cinco seis siete N/A N/A self italian N/A N/A awt List N/A N/A N/A self fillList N/A self italian N/A uno due tre quattro cinque sei sette N/A N/A self output N/A N/A awt TextArea 10 40 editable 0 N/A bag N/A GridBag self N/A N/A N/A bag add N/A self output fill BOTH weightx 1.0 weighty 1.0 gridheight 2 N/A N/A N/A bag addRow N/A self spanish fill VERTICAL N/A N/A N/A bag addRow N/A self italian fill VERTICAL N/A N/A self language N/A N/A self spanish N/A self italian Spanish Italian N/A action N/A N/A self e N/A N/A N/A list N/A e source N/A text Action event occurred on "%s" in %s.
 N/A N/A N/A N/A self output append N/A text N/A N/A list selectedItem N/A N/A self language N/A list N/A change N/A N/A self e N/A N/A N/A list N/A e source N/A N/A N/A e stateChange N/A ItemEvent SELECTED N/A N/A select Select N/A N/A select Deselect N/A text %s event occurred on item #%d (%s) in %s.
 N/A params N/A select N/A e item N/A N/A list getItem N/A e item N/A N/A self language N/A list N/A N/A N/A N/A self output append N/A text params N/A N/A N/A N/A __name__ __main__ N/A N/A pawt N/A N/A N/A pawt test N/A ListDemo