JAVA Question!

I'm trying to use Dr.Java to run the following code:
class Displayer {
public static void main(String args[]) {
System.out.println("You'll love Java!");
}
}
But I keep getting an error!
"Current document is out of sync with the Interactions Pane and should be recompiled!"
Can anyone on here help me? Thanks in advance!!!

Respuesta :

I don't see any error on your code, everything is well written and simple. Except trying putting PUBLIC on your Class displayer. If you encounter the same problem again try to rebuild your whole code and try to recompile the whole code. Even try restarting your personal computer.