List of usage examples for javax.swing DefaultListModel clear
public void clear()
From source file:se.trixon.toolbox.rsync.job.JobManager.java
public DefaultListModel populateModel(DefaultListModel model) { model.clear(); for (Job job : mJobs) { model.addElement(job);/*from w w w . j av a 2 s .co m*/ } return model; }
From source file:se.trixon.toolbox.rsync.task.TaskManager.java
public DefaultListModel populateModel(DefaultListModel model) { model.clear(); for (Task job : mTasks) { model.addElement(job);//from w ww. j ava 2 s . c om } return model; }