Jpanel用什么来监听??
------解决方案--------------------
有很多
从Container继承下来的有
addContainerListener, addPropertyChangeListener, addPropertyChangeListener,etc
从Component继承下来的有
addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener,etc
------解决方案--------------------
java.awt包中能找到很多