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)

相关文章:

  • 2021-07-05
  • 2021-05-18
  • 2021-09-27
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-30
  • 2021-04-27
  • 2021-07-26
  • 2021-10-29
相关资源
相似解决方案