Merge branch 'subtree'
[nikiroo-utils.git] / src / be / nikiroo / utils / compat / DefaultListModel6.java
1 package be.nikiroo.utils.compat;
2
3 import javax.swing.DefaultListModel;
4 import javax.swing.JList;
5
6 /**
7 * Compatibility layer so I can at least get rid of the warnings of using
8 * {@link JList} without a parameter (and still staying Java 1.6 compatible).
9 * <p>
10 * This class is merely a {@link DefaultListModel} that you can parametrise also
11 * in Java 1.6.
12 *
13 * @author niki
14 *
15 * @param <E>
16 * the type to use
17 */
18 @SuppressWarnings("rawtypes") // not compatible Java 1.6
19 public class DefaultListModel6<E> extends DefaultListModel
20 implements ListModel6<E> {
21 private static final long serialVersionUID = 1L;
22 }