Learn how to post code on the forum using code tags
Learn how to properly indent code; use of tools -> autoformat in the IDE is a great help for that. After that, the end of your code looks like
display.display();
{
}
The last } should be at the beginning of a line after the autoformat; if it isn't, you have a mismatch in { and }.
Why do you have that { everywhere after display.display()?
display.display();
{
Remove them and your good to go.