I've just switched to Eclipse. I've been using TextPad so Eclipse is pretty cool..
But I've been getting weird error messages that I don't understand/not used to.
Here they are:
JButton btnEnter = new JButton("Enter"); btnEnter.addActionListener(this);
Here the Error says: Multiple markers at this line.
-Syntax on token "this", delete this token.
-Syntax error on token(s), misplaced construct(s).
What the hell?
And I also had to declare this (below) otherwise Eclipse got all cocky saying that I should.
static final long serialVersionUID;
What is this and why did I have to declare this?
Thanks for taking a look at this..