private void fillComboBox(){
ArrayList arrayList = new ArrayList(); // vector is Obsolete. Hence ArrayList
AuthorModel authorModel = new AuthorModel();
List<Author> authors = authorModel.all(); // This should be query based (Type text to fetch).
// Loading everything at once is just unnecessary.
for (Author author : authors) {
arrayList.add(author);
}
cmboxAuthor.setModel(new javax.swing.DefaultComboBoxModel(arrayList.toArray()));