Java Method Call Expected

后端 未结 7 1319
隐瞒了意图╮
隐瞒了意图╮ 2020-12-17 18:49

This is a java program with two buttons used to change an integer value and display it. However in IntelliJIDEA the two lines with

increase.addActionListene         


        
7条回答
  •  无人及你
    2020-12-17 19:29

    substitute the lines with

    increase.addActionListener( new incListener());
    decrease.addActionListener( new decListener());
    

提交回复
热议问题