swt MouseAdapter

Exception in thread "main" java.lang.Error: Unresolved compilation problem:
    The method addInfo() in the type new MouseAdapter(){} is not applicable for the arguments (String)

    at Test$1.mouseDown(Test.java:72)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:192)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
    at Test.open(Test.java:42)
    at Test.main(Test.java:27)

posted @ 2015-07-17 19:42  aprial  阅读(300)  评论(0编辑  收藏  举报