ArrayList<String> mylist = new ArrayList<String>(); mylist.add(mystring); //this adds an element to the list.