there is no constructor in javax.swing.Timer that has no parameters, so essentially you're trying to use a method that doesn't exist. Obviously the compiler won't let you do that go here to see the api for javax.swing.Timer and it will show you how to use it and what it does.
the error means that the compiler doesn't recognise the method setDelay(). You need to specify the object that the method belongs to since I assume it's not a method in your class right? Something like someObject.setDelay().
I'm not sure if you understood my last post so i'll clarify it now. You tried to make a Timer object using a constructor with no paramters. The class Timer doesn't have such a constructor, it only has construcors that have parameters in them. The link i gave in the last post goes to the API for Timer and shows how to use it.