Importing list from java.awt or java.utils
awt.List is a List component used in GUI where as java.util.List is an interface for the lists data structure
java.awt.List
is List component (like drop down list), it not a collection/datastructure.
What is the difference if I use java.awt vs java.utils ??
You can't use List/Collection specific methods like iterator.