I'm not familiar with these java syntax... Could someone please elaborate?
Code:
private ArrayList<DemoModule> demosList = new ArrayList<DemoModule> ();
Code:
for (SwingSet2 ss : swingSets) {
ss.updateThisSwingSet();
}
I haven't seen these in my old books. :(
And well right now they are causing some errors on my eclipse editor... But these snippets are from the demo projects shipped with java 1.5 so I think they should be working right?
How do I make the errors go away?
And what's the purpose of these constructs?