In the following code, I get an error from the compiler on the last line that says: \'the type List is Ambiguous\' (on the line that attempts to define cgxHist list). What
java.awt.List java.util.List
Both of these exist. You'll have to add the namespace in front to use one:
java.util.List cgxHist = new ArrayList();
If you don't, it doesn't know how to interpret the List: is it the awt one or util? Ergo: ambiguous.
List
awt
util