public final class ModelUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> void |
updateListModel(List<T> list,
DefaultListModel<T> model)
Update the swing model based on the provided list, adding new items to
the swing model and removing no-longer-present items from the swing
model.
|
public static <T> void updateListModel(List<T> list, DefaultListModel<T> model)
Copyright © 2017. All rights reserved.