Added new lists for viewing and selecting Artists and Stages

This commit is contained in:
2015-02-25 19:51:02 +01:00
parent c225c23d66
commit 9de7409bac
6 changed files with 146 additions and 4 deletions
+25
View File
@@ -0,0 +1,25 @@
import javax.swing.AbstractListModel;
public class ContentList extends AbstractListModel {
private static final long serialVersionUID = 9110016552017561529L;
Object[] data;
public ContentList(Object[] data)
{
this.data = data;
}
@Override
public Object getElementAt(int arg0) {
return data[arg0];
}
@Override
public int getSize() {
return data.length;
}
}