Ok I'm going to post all of the code cos I know I'm really close to solving this problem now.
This code is ListDemo2.java, and this is basically the main progrm thats sets up all the
applet stuff and displays the lists. What it can do is insert an item onto the end of the list, make an ordered list from zero up to an input in the text field(integer), make a random list, clear the list, delete duplicates ( this is what i'm having trouble with ) and exit the applet.
This code is called ListByVector.java and is used to generate the lists and then return the info back to ListDemo2.