You're welcome.
Oracle's Tutorial is very good - arguably the best - but the Swing section assumes some familiarity with Java and it attempts to be rather comprehensive so it's long. Also it...
Type: Posts; User: pbrockway2
You're welcome.
Oracle's Tutorial is very good - arguably the best - but the Swing section assumes some familiarity with Java and it attempts to be rather comprehensive so it's long. Also it...
Honestly, if you can't say what c.add(e) is supposed to do, I can't really say how it could be changed to do that.
---
In my opinion copying other people's code isn't such a great way to...
What is e supposed to represent?
The reason for the compiler message is that you are using the variable e, but it not declared anywhere.
What do you intend your addElement() method to do?