Multiple markers at this line @Override的解決方法

Multiple markers at this linejava

- implements java.awt.event.ActionListener.actionPerformedide

- The method actionPerformed(ActionEvent) of type DimmingGlassPane.Animator must override a this

superclass methodspa

- Javadoc: Missing comment for private declarationorm

緣由:JDK1.5不支持這種寫法。實現接口方法須要重寫抽象方法。接口

解決方法:將Compiler compliance level修改成1.6便可.ip

此處可能須要在兩個地方修改
 (1) Eclipse的Window-Preferences->Java->Compiler
(2)Eclipse的Project->Properties->Java Compiler
it

相關文章
相關標籤/搜索