What are the key differences between an applet and a stand alone application?
And also, what have you tried and how has it failed? And: Is this your code or have you found it online?
Am I the only one, surely not :p, who hates the use of the this keyword when it is absolutely unecessary
this.x = paramInt1;
this.y = paramInt2;
this.theItems = new Item[paramInt3];
this.size = 0;
this.selected = -1;
I sometimes do it out of the irrational fear that someday I may change the name of one of the variables to match the other, and without "this" will mess things up.