Hi,
Welcome to JavaRanch!
I can see three errors; there may be more, or one of the messages may be a red herring, which happens some times.
1) on the very first line, you named the class lightbul
d, but then later use the correct spelling.
2) In "displaylightbulb", you forgot a "+" between the first
string and 'color' in the first println call.
3) Also in the same routine, there's an open brace after the "else", but no matching close brace for it.
For future references: when posting code that won't compile, it's helpful to post the error messages too; it makes it easier on people who'd like to help!