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
incListener and decListener are a classes but not a methods, so you must call new to use them, try this:
increase.addActionListener(new incListener()); decrease.addActionListener(new decListener());
sorry for my bad english