A.addListener() B.addActionListener() C.addButtonListener() D.setListener()
A.getActionCommand() B.setLabel(stringstr) C.button() D.getLabel()
A.image是要繪制的圖像 B.x,y是表示圖像的中心的位置 C.width是源圖像的寬度 D.this是容器