Report generating have some doubt

Hi Guys,
I’m try to invoking a this in my event() but i am getting a java parse error.
I was attached
please give me some as a suggestions.

Hi guys,
1.I’m continue with a when i will be going for a set as bitton click event i’m getting java parse error.
2.When i will running inevent()%20Errorthis logic I’m getting same error.

public class PublicationEdit extends AbstractEditor {

public void onButtonClick() {
private Button button;
public void init(Map<String, Object> params) {
    TablePrintFormAction action = new TablePrintFormAction("report", newRepExamplesTable);