Multiple markers at this line
- implements java.awt.event.ActionListener.actionPerformed
- The method actionPerformed(ActionEvent) of type DimmingGlassPane.Animator must override a
superclass method
- Javadoc: Missing comment for private declaration
原因:JDK1.5不支持这种写法。实现接口方法需要重写抽象方法。
解决方法:将Compiler compliance level修改为1.6即可.
此处可能需要在两个地方修改
(1) Eclipse的Window-Preferences->Java->Compiler
(2)Eclipse的Project->Properties->Java Compiler